youknowone / UI7Kit

Backport flat-style UIKit from iOS7 to iOS5+
Other
1.67k stars 199 forks source link

UI7NavigationController does not populate view #114

Open BrettThePark opened 11 years ago

BrettThePark commented 11 years ago

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 commented 11 years ago

:+1:

youknowone commented 11 years ago

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