ios - UINavigationBar is off center? -
so set app navigation bar except it's refusing remain in middle of screen. title moved right , right-most button hidden off screen. i've tried resizing, deleting , re adding it, cleaning, etc... , nil works. thought why might be? :\
this looks when run on simulator vs storyboard
the title centered, uinavigationbar
600px wide. screen not wide. need add together layout constraints resize toolbar appropriately containing view.
you need add together layout constraints. ctrl+drag uinavigationbar
parent view (in left hierarchical tree-view tool window):
and add together next constraints (hold alt , shift while selecting):
leading space container trailing space container top space top layout guide ios xcode uinavigationbar
No comments:
Post a Comment