开发者

Home View in UITabBarController

I have a starter UIView and if user clicks the button in starter view present a tabbar model view. In that view, I have a tab bar controller with 4 items as the first one "Home" tabbar item where if user clicks it dismisses the tabbar controller view and go back 开发者_Python百科to the start view (so when tabbar view is loaded it starts with the second tabbar item). My question is: how can I dismiss the tabbar controller when user clicks the home tabbar item.


Ehm I think this is against guidelines and would advice you to try a different approach. However, you could make the home button load a view which class has [self presentModalViewController:starterViewController animated:NO]; in viewWillAppear

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜