开发者

UIToolbar push view issue

I've created a UIToolbar and added it as a subview of the navigationController. The problem is it doesn't disappear when I do push so I hide it on push but the makes it just disappear which makes it look tacky. I thought about animating it but I am findi开发者_JAVA技巧ng it hard for the animation to be exactly like the push and pop animation for the navigation controller.

Does anyone know the push and pop animation properties so it can be exactly the same, or does anyone know what view or what property i can do to push and pop the toolbar with the navigation controller.

As a note I also tried to use the toolbar that comes with the navigationController but the buttons were disappearing after popping back to the view.


Yup, check out the hidesBottomBarWhenPushed property of the UIViewController that you are push/popping.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜