How can I tell when something outside my UITableViewCell has been touched?

前端 未结 3 1549
忘了有多久
忘了有多久 2021-01-01 03:44

Similar to this question I have a custom subclass of UITableViewCell that has a UITextField. Its working fine except the keyboard for doesn\'t go away when the user touches

3条回答
  •  耶瑟儿~
    2021-01-01 04:22

    That is a very good solution, the best I've found on the net. The only glitch I've discovered is that if you go from one cell with a textfield to another, the keyboard dismisses and reappears resulting in a jerky type animation.

提交回复
热议问题