ios - How to get size of default keyboard for current device without it being displayed? -


i working on custom keyboard extenssion ios. keyboard's size should match of default system keybaord on each device.

for purposes of accompanied app need know size of default system keyboard (in portrait , landscape) without displaying keyboard. there way?

sure, can measure size of keyboard in simulator on devices , use constant. if new device released app not work on - keyboard size not amoung constants.

having never created keyboard extension myself i'm going off of make sense me. recommend coming layout keyboard consistent , have auto layout resize fill space. if you're not using interface builder i'd recommend checking view (or superview) in viewdidload , seeing if has been sized you.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -