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
then set top space
of imageview top layout guide
like,
Comments
Post a Comment