iphone - How to give automatically top space to navigation bar in ios? -


i have uiviewcontroller. designing screen iphone 5s. have uiimageview & giving top space container of 20. have uinavigationbar @ top.so space given of 20 not enough. uiimageview hidden behind uinavigationbar. can resolve issue giving space top. in case @ design time ui not proper. there way space uinavigationbar automatically calculated?

in attribute inspector set top bar translucent navigation bar this

enter image description here

then set top space of imageview top layout guide like,

enter image description here


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -