iphone - UITabBarController inside UINavigationController works on iOS 8 but not 7 -


in ios 7 view controller in uitabbarcontroller in uinavigationcontroller, navigation bar covers content. in ios 8 not case, , items have constraints in relation top layout guide positioned.

if embed each tab's view controller in uinavigationcontroller, looks in ios 7, in ios 8 there's white gap between navigation bar , content of view controllers.

i understand apple explicitly forbids in documentation. uitabbarcontroller should not pushed onto uinavigationcontroller's stack. effect want achieve:

start app @ login screen (this root of uinavigationcontroller). there no tab bar yet. if login successful, push new uitabbarcontroller onto stack. @ point, logged in user can switch between different parts of app switching tabs.

is there workaround? or there different way achieve effect?

couldn't find satisfactory way go it. ended restructuring app uitabbarcontroller root , login view controller presented modally initially.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -