ios - How can I get the size of the keyboard on iPhone? -


i want keyboard size without using nsnotification. when press plus button, can replace keyboard custom uiview this:

picture1

then plus button pressed , view loaded:

picture2

how can achieve this?

i made same rookie mistake want here. problem write lot realize not want avoid standard flow provided ios team. example have bad time dealing issue 1 (there additional bar part of standard keyboard chinese locale):

enter image description here

i solved using other people's work dakeyboardcontrol project. not need attach observer (or if use dakeyboardcontrol - block) directly bar buttons, controller , check user trying , animate bar accordingly. in sources can see how keyboard's animation duration , timing function. may sound more complicated indeed is, give try.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -