开发者

iphone: Button/Image on top of TabBarController?

开发者 https://www.devze.com 2023-01-08 04:09 出处:网络
When in the Camera Roll section of the Photos app, you can c开发者_Python百科lick the top right button to edit the photos.This replaces the bottom tab bar with three new buttons.

When in the Camera Roll section of the Photos app, you can c开发者_Python百科lick the top right button to edit the photos. This replaces the bottom tab bar with three new buttons.

I would like to do something similar, but I cannot get my buttons to be on TOP of the tab bar. Is there a way to specify the layer order? Or do I need to do something different?


I would add a new UIView. I would add it to the view your tab bar is in (like, let's say UIWindow). From there you can use -bringViewToFront (or something similar). That way you will have control over what is in front of the UITabBarController's view.

0

精彩评论

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