IdleHandsApps / IHKeyboardAvoiding

IHKeyboardAvoiding is an elegant solution for keeping any UIView visible when the keyboard is being shown - no UIScrollView required!
MIT License
1.41k stars 151 forks source link

Problem about textfield in tableview cell #35

Open icefox57 opened 7 years ago

icefox57 commented 7 years ago

First sorry for last post did not give the detail information.

Here is what happen I have a View controller , and it has a navigation controller as child view controller . and navigation controller's root view controller has a tableview, tableview has many cell some of them has textview. I want to keyboard not block the textview ,when user start to enter something

i tried KeyboardAvoiding.avoidingView = textview at textview's delegate but not work , textview move up in cell's content.

And now i use , KeyboardAvoiding.avoidingView = tableView. it's ok but not perfect. because child view move up ,and it's parent view still there used a lot space.

I think may be it is better to have a config , can choose which view move up, for my case it is better move the parent view or window may be the best.

And my english is not well ,hope u can understand.

jkmathew commented 6 years ago

I think its related to #31