> On 19 Jul 2014, at 11:05 am, Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote:
> 
> 
> On 18 Jul 2014, at 22:24, Roland King <r...@rols.org> 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.
> 

well it wouldn’t be in an entire talk only about keyboards would it now. It’s 
either going to be in What’s new in Cocoa Touch or View Controller Advancements 
For iOS8 or the talk about Extensions, something like that. Thinking about it 
the voice on the video was Bruce Nilo I think so .. it must be the View 
Controller one, he usually does those. 

<click, click>

There you go, entitled “Changes to Screen Coordinates”. Short section as I 
recall but might have something usable, at least there’s some API methods there 
either don’t exist on iOS7 you could check for or they are backported in which 
case you can use them. 

I watch almost all the videos every year in the months after WWDC when I’m 
running, or can’t sleep. I rarely remember all the details but often remember 
enough to think “there’s something new about that”. Bruce Nilo and Luke 
Heisterman are always very good, some of the others, less so, but there’s lots 
of meat in most of them. 
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to