iOS: Positioning navigation bar buttons within custom navigation bar

前端 未结 3 1139
庸人自扰
庸人自扰 2020-12-17 20:22

I\'m building an app with a custom navigation bar. After some research I decided to do this using a category on UINavigationBar. The navigation bar needs to be a bit larger

3条回答
  •  醉话见心
    2020-12-17 21:25

    Try adding the buttons to the nav bar in the viewDidLoad method of the view controller instead.

提交回复
热议问题