UIBarButton Item on screen edge in iOS 8 when used in standalone view

后端 未结 3 404
没有蜡笔的小新
没有蜡笔的小新 2021-01-17 13:13

In my UINavigation bar added to a XIB with a number of UIViews the positioning of the left and right bar button item is way off:

3条回答
  •  自闭症患者
    2021-01-17 13:49

    The issue is in layoutMargins.

    Seems like your UINavigationBar has zero margin. It should have 8 points from each side.

提交回复
热议问题