How do I find when a UITabBar switches UITabItem's in iOS
I 开发者_JS百科need this so when I switch tab items it moves an array item in to another array.
Assuming you're using a UITabBarController
you'll want the UITabBarController
delegate method tabBarController:didSelectViewController:
.
精彩评论