简体   繁体   中英

How to handle view with keyboard in iOS

I am having 2+ years of experience in iOS development. I haven't got the better solution for the keyboard handling. I need to handle it by the notifications and that old stuff. Is there any library or any simple stuff that could automatically handle the keyboard and view.

Because handling these things manually takes too much time. So please let me know if you guys are having something new approach to handle this.

Thanks in advance

Yes, there is library named TPKeyboardAvoiding you can download files here . As you said "handling these things manually takes too much time", so it will be better just give class to scrollview to TPKeyboardAvoidingScrollView & it will handle all cases.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM