Re: How to get iOS version at runtime?
Re: How to get iOS version at runtime?
- Subject: Re: How to get iOS version at runtime?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sat, 19 Jul 2014 10:05:35 +0700
On 18 Jul 2014, at 22:24, Roland King <email@hidden> wrote:
>> 2. these Notifications have two rects in their userInfo: UIKeyboardFrameEnd and UIKeyboardFrameBegin.
>> In 7.1.2 these are always in the portrait orientation. To be usable one has to rotate them to the actual orientation.
>> In 8.0 they are already in the actual orientation (much more sensible)
>
> Now I thought this was covered in one of the WWDC videos
Searched the WWDC app for "keyboard" and got only one video from 2012, covering iOS 6.
> and there’s a method (perhaps one only available on iOS8) which still converted always to screen orientation for those pieces of code which needed to be compatible with ‘the old way of doing it’. There was certainly some discussion about this change which is potentially quite a breaking one and so there were some new methods of converting rectangles mentioned there. Did none of those help?
They might, if I could find them.
Thanks anyway.
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden