简体   繁体   中英

Showing a keyboard in iOS without animating

Does anyone know if there is a way to show the keyboard in iOS without animating it? Or better yet, can you change the animation speed?

Thanks

The only way I know of, is pushing a view controller which has a view which is made first responder in -viewDidLoad . ( viewWillAppear will probably do fine as well)

Pushing it without animation might get you a keyboard popping up without animation.

update too bad, it seems either the view animates into screen (modally or pushed on the navigation stack, with animated:YES ) with the keyboard fixed, or the view comes up without animation (ie animated:NO ) making the keyboard animate into screen again.

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