Re: iOS 7 -wantsFullScreenLayout confusion?
Re: iOS 7 -wantsFullScreenLayout confusion?
- Subject: Re: iOS 7 -wantsFullScreenLayout confusion?
- From: Roland King <email@hidden>
- Date: Tue, 24 Sep 2013 18:17:18 +0800
Isn't called anymore. I think that's in the WWDC talk and possibly the iOS 7 transition guide.
> On 24 Sep, 2013, at 5:27 pm, Dave <email@hidden> wrote:
>
> Hi All,
>
> I have an app that overrides wantsFullScreenLayout in the Navigation Controller and in the Root View Controller (all other App VCs inherit from this VC). I added a check for iOS 7 (see code below) and to test it put a breakpoint in each of the two methods, however the Breakpoint never gets hit (nor do I see the log info), which has confused me, as I expected it to stop on the breakpoint more or less straight after App Launch.
>
> Is this expected? Is wantsFullScreenLayout actually being called in iOS 7? If not can I just leave it in without the OS Version number check?
>
> Here is the code:
>
>
> - (BOOL) wantsFullScreenLayout
> {
> NSLog(@"NavigationController - wantsFullScreenLayout ************************************");
>
> if ([LTWAppUtilities getiOSMajorVersionNumber] < 7) //Breakpoint Here
> return NO;
>
> return [super wantsFullScreenLayout];
> }
>
> --------------------
>
> - (BOOL) wantsFullScreenLayout
> {
> NSLog(@"RootViewController - wantsFullScreenLayout ************************************");
>
> if ([LTWAppUtilities getiOSMajorVersionNumber] < 7) //Breakpoint Here
> return NO;
>
> return [super wantsFullScreenLayout];
> }
>
> Thanks a lot
> Dave
>
> _______________________________________________
>
> 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
_______________________________________________
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