iOS 7 -wantsFullScreenLayout confusion?
iOS 7 -wantsFullScreenLayout confusion?
- Subject: iOS 7 -wantsFullScreenLayout confusion?
- From: Dave <email@hidden>
- Date: Tue, 24 Sep 2013 10:27:48 +0100
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