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 (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