I have a UIViewController that has a UITextView and UIImageView, when the keyboard comes up, it closes my UITextView. so how can i do this to manage this and the same for a UITableView?
You can put all the elements inside the ScrollView, and then move the view to compensate for the keyboard. Someone already wrote a really convenient class, check out: https://github.com/michaeltyson/TPKeyboardAvoiding
Hope this helps!
In the first case, there are several good options:
Lift the UITextView programmatically when the keyboard is inserted, and the UITextView is the first responder after this great solution, or it's an equally great solution .
UITextView
Add everything to the UIScrollView so that it moves accordingly when the keyboard is raised after this simple guide
UIScrollView
A UITableView will do this fine automatically using the – scrollToRowAtIndexPath:atScrollPosition:animated: method, but any of these solutions will work as well.
UITableView
– scrollToRowAtIndexPath:atScrollPosition:animated:
Source: https://habr.com/ru/post/1389175/More articles:Access to SQL: selecting a connection, displaying both fields - sqlHow to get the computer name and output it to a file in VBScript - windows-7upload text file to webview android - androidHow to use a variable reference in C # - c #Facebook-esque Popup How-to? - androidWinforms.Net Application Does Not Start - c #Does more R packages fix performance issues? - performanceDo I need ProtoBuf RPC Android examples? - androidUsing MySQL, why doesn't Hibernate / JPA create external constraints for me? - mysqlHow to create a directory in "user.home"? - javaAll Articles