• 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
Re: iOS 7 - Overriding NSNavigationController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS 7 - Overriding NSNavigationController


  • Subject: Re: iOS 7 - Overriding NSNavigationController
  • From: David Duncan <email@hidden>
  • Date: Fri, 20 Sep 2013 12:41:15 -0700

If you are building with the iOS 7 SDK, wantsFullScreenLayout should not be consulted for your UI layout at all by the framework. The only thing I can imagine the original engineer wanted was to avoid having to set the flag to NO manually, and thus have it done automatically.

Of course even if you build with the iOS 7 SDK and deploy to iOS 6, the flag will be honored there as specified.

On Sep 20, 2013, at 2:00 AM, Dave <email@hidden> wrote:

> Hi,
>
> I've been trying to figure out why the App I am working looks really awful under iOS 7 and have found the main culprit. It tuns out that the Apps Navigation Controller uses a subclass of NSNavigationController and overrides "wantsFullScreenLayout" which always returns NO, e.g.
>
> -(BOOL) wantsFullScreenLayout
> {
> return NO;	//Never Allow Fullscreen
> }
>
> If I remove this, the apps looks a lot better most places BUT some of the ViewControllers/Views don't look at all right now! I'm wondering what effect the original engineer was getting by forcing wantsFullScreenLayout to be always NO?
>
> 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

--
David Duncan


_______________________________________________

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 - Overriding NSNavigationController
      • From: Dave <email@hidden>
References: 
 >iOS 7 - Overriding NSNavigationController (From: Dave <email@hidden>)

  • Prev by Date: Re: UIPickerView and multiple text fields, iOS
  • Next by Date: Re: Correct usage of NSTextView and NSFindBar
  • Previous by thread: iOS 7 - Overriding NSNavigationController
  • Next by thread: Re: iOS 7 - Overriding NSNavigationController
  • Index(es):
    • Date
    • Thread