Clancey / FlyoutNavigation

Other
95 stars 87 forks source link

Pushing new view UIViewController shows side menu in background #73

Closed egfconnor closed 9 years ago

egfconnor commented 9 years ago

If I push a new UIViewController I can see the side navigation in the background if it's just a blank UIViewController with no view set. Setting a background color on the new UIViewController such as white/black,etc. will fix it of course.

Strangely if I open the side navigation and select an item and then go back to the previous controller and push a controller the exact same way it has a white background like expected and I can't reproduce it at all after that and an app reload is required.

Clancey commented 9 years ago

This isnt really a bug. View controllers are transparent by default. This allows you to do unique effects. Because of this, the content view you added is empty until you add content or a background color.

egfconnor commented 9 years ago

Gotcha. Thanks for the info!