Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

UI7NavigationController does not populate view #114

Open
BrettThePark opened this issue Sep 25, 2013 · 2 comments
Open

UI7NavigationController does not populate view #114

BrettThePark opened this issue Sep 25, 2013 · 2 comments
Labels

Comments

@BrettThePark
Copy link

When trying to create a UINavigationController in the following manner:

[[UINavigationController alloc] initWithNavigationBarClass:nil toolbarClass:nil];

the end result is that the root view controller's view is not added to the view hierarchy and results in nothing visible on the screen. The setter/getter for the navigationBarClass appear to be the issue as commenting them out allows the view to be visible once again.

//NSAPropertyGetter(navigationBarClass, @"_navigationBarClass");
//NSAPropertyAssignSetter(setNavigationBarClass, @"_navigationBarClass");
@tmcnab
Copy link

tmcnab commented Sep 25, 2013

👍

@youknowone
Copy link
Owner

Thank you. I always wondered why some apps has unpatched back buttons.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants