Was wondering if any of you tried to add a UITabBarItem to UITabBar that functions as a button that opens safari Externally. Meaning it would not be a real tab, but just used as a button. Does Apple reject apps for using the UITabBarItem like so?
Thanks in advance.
Try setting a view controller for that tab and then in the
viewDidLoad
viewDidAppear
method add in your URL Scheme to load up safari or whatever app you need to open.
I see no reason why Apple would reject it. All the tab bar really is, is just a UI preference.
Apple不拒绝从外部打开Safari的tabBar按钮。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.