For the UIKeyboardFrameEndUserInfoKey constant, Apple docs say:
These coordinates do not take into account the rotation coefficients applied to the contents of the windows as a result of the orientation of the change interface. Thus, you may need to convert the rectangle to a coordinate window (using the convertRect: fromWindow: method) or to view it (using the convertRect: fromView :) method before using it.
So, if I use [view1 convertRect:rect fromView:view2]
What would I invest for the above parameters to get it to correctly convert rotation values? i.e:
view1 =? rect =? (keyboard frame, which I assume) view2 =?
Tried some things and got some funny things.
ios iphone cocoa-touch uikeyboard uiview
Ser Pounce Mar 14 '13 at 6:01 2013-03-14 06:01
source share