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 <d...@looktowindward.com> 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 (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/david.duncan%40apple.com
> 
> This email sent to david.dun...@apple.com

--
David Duncan


_______________________________________________

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

Reply via email to