On 19 Jul 2014, at 10:36, Roland King <[email protected]> wrote: > >> On 19 Jul 2014, at 11:05 am, Gerriet M. Denkmann <[email protected]> >> wrote: >> >> >> On 18 Jul 2014, at 22:24, Roland King <[email protected]> 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.
Thanks. I just watched it: "View Controller Advancements in iOS 8" (Session 214 under: Frameworks), which has (starting at about 5 min before the end) a section: "Screen Coordinates". Quite a good talk. Kind regards, Gerriet. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
