开发者

Having a view with a TabBar without any of the tab views showing?

开发者 https://www.devze.com 2023-03-14 04:51 出处:网络
Is it possible to have a UITabBar with lets say 2 tab bar items, but the view being shown not one that is part of the tab bar?

Is it possible to have a UITabBar with lets say 2 tab bar items, but the view being shown not one that is part of the tab bar?

for instance I have orange view with the tab bar at the bottom, on the tab bar there is blue view button and green view button and the only way to see the green or blue views would be a user interaction to the tab bar. othe开发者_StackOverflow中文版rwise it will always display orange view.

Sorry if this is confusing, and how would I implement this in code?


This will almost certainly get your app rejected with the reason "this might lead to customer confusion".

UITabBarController is meant to show different sections of one app, not to affect a single view. Instead for this you want to use a UIToolbar.

0

精彩评论

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