iphone - View frame changes when hiding the status bar iOS 7 -
i trying solve issue while,
i have view controller embedded in navigation controller , want toggle status bar hide/show.
the problem when set status bar hidden view including navigation bar jumps up.
how can avoid behavior?
want hide status bar without other effects, , navigation bar staying extended 0 64 px height.
i created simple project demonstrate problem.
few notes possible solution:
- cant use auto layout
- navigation bar cant translucent
- "view controller-based status bar appearance" must set no
to honest, recommend modify desires. behavior you're describing built uinavigationcontroller, so, basically, can't you're describing without writing own uinavigationcontroller subclass - though, more honest, far clear me you'd have override interfere behavior, might necessary write substitute interface. example, have presented view controller containing navigation bar , interface, , in complete control of height , position of everything... sounds me road isn't worth going down.
Comments
Post a Comment