Persistent UIBarButtonItem in UIToolbar?

后端 未结 3 1007
萌比男神i
萌比男神i 2020-12-15 14:40

I\'ve been developing an iPhone app that uses a UIToolbar (in the context of a UINavigationController) to display a small status icon at the bottom of the screen. The toolba

3条回答
  •  情歌与酒
    2020-12-15 15:15

    As you push new views onto your navigation controller the views in the toolbar will be replaced with the views from the toolbar of the view on the top of the stack.

    Even if you have a static view (a view that does not change when you push a new controller), the view will still appear to be new because of the animation apple includes when you push a new view controller onto the stack.

提交回复
热议问题