开发者

how to Unhighlight the tabbaritem

开发者 https://www.devze.com 2023-01-11 11:59 出处:网络
I have three TabBarItem in a TabBar . In one case, i开发者_开发问答 want to remove the TabBarItem selection from any of the three TabBarItems . i.e., the complete TabBar will not show any TabBarItems

I have three TabBarItem in a TabBar . In one case, i开发者_开发问答 want to remove the TabBarItem selection from any of the three TabBarItems . i.e., the complete TabBar will not show any TabBarItems selected. Can i achieve it?

Kindly help me regarding on this.

Thanks


No. While this may be technically possible, it is likely a violation of Apple's Human Interface Guidelines. If a tab bar is on display, the current view's tab should be highlighted. What does the tab bar represent in your app? If it's not used to switch between views, consider employing a UISegmentedControl instead.


yes Justin's right.When you think about it showing none of the tab bar items as selected doesn't make any sense.

0

精彩评论

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