• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS 7 -wantsFullScreenLayout confusion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: iOS 7 -wantsFullScreenLayout confusion?
      • From: Roland King <email@hidden>
  • Prev by Date: Re: How to discover the volume id to use in a File Reference URL
  • Next by Date: Re: Developer Site Safari PlugIn
  • Previous by thread: Re: How is one supposed to use a UIPageViewController in a storyboard?
  • Next by thread: Re: iOS 7 -wantsFullScreenLayout confusion?
  • Index(es):
    • Date
    • Thread