开发者

how to deselected UITabbar in iphone

开发者 https://www.devze.com 2023-03-21 20:00 出处:网络
hi when i start my application UITabbar is show but no one tab is selected by default and i want to set my application开发者_高级运维 detail view to set for launching time without selected any tab.i m

hi when i start my application UITabbar is show but no one tab is selected by default and i want to set my application开发者_高级运维 detail view to set for launching time without selected any tab.i m using my custom tabbar for application so how can i make this ? do you have any idea please help me


There is a selectedItem property in tabBar. Also there is -(void)select:(id)item method. I believe that if you'll cal that method passing nil it will deselect all the items. Haven't tried it by myself thought...
Hope that it helps.

0

精彩评论

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

关注公众号