Re: -[UIApplication statusBarFrame] changes in iOS 8
Re: -[UIApplication statusBarFrame] changes in iOS 8
- Subject: Re: -[UIApplication statusBarFrame] changes in iOS 8
- From: Greg Parker <email@hidden>
- Date: Tue, 23 Sep 2014 11:16:08 -0700
> On Sep 22, 2014, at 11:02 PM, Rick Mann <email@hidden> wrote:
>
>> On Sep 22, 2014, at 18:38 , Roland King <email@hidden> wrote:
>>
>>> On 23 Sep 2014, at 9:20 am, Rick Mann <email@hidden> wrote:
>>>
>>> I tried to find some documentation of a change, but can't It seems that the statusBarFrame returned in iOS 8 is different than in iOS 7. In landscape mode on iPad, I get a size of 20, 1024 in iOS 7, and 1204, 20 in iOS 8.
>>>
>>> Any suggestions on the best way to handle this?
>>>
>>
>> That rather depends on what you’re using it for. Usually just working with topLayoutGuide etc etc makes all this stuff go away. However if you’re currently using that information for something … then …
>>
>> WWDC 2014 session 214, View Controller Advancements In iOS8, the venerable Bruce Nilo. ‘Changes to screen coordinates’ towards the end. I glossed over this bit when I saw it originally as it wasn’t instantly relevant to anything I’m up to but it definitely affects status bars and keyboard popup rectangles and there’s some APIs in there to convert from anything to anything else, one of which probably does what you need to convert what you’re getting back to what you were getting before, or at least alert you to having to handle it differently.
>
> Sigh. Thanks. Again, Apple not documenting stuff where it should be documented.
You should file a bug report asking for documentation whereever you think it should be documented.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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