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.
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.