0

I'm having a weird occurance with my app in iOS 7 (using the GM build).

I have four tabs, and I have a customized tab bar, with background, icons, etc. I have my code below for setting up tab bar properly:

[[UITabBar appearance] setBackgroundImage:[UIImage imageNamed:@"tab_bar.png"]];
[[UITabBar appearance] setSelectionIndicatorImage:[UIImage imageNamed:@"tab_selected.png"]];
[[UITabBarItem appearance] setTitleTextAttributes:@{UITextAttributeTextColor: [UIColor whiteColor]} forState:UIControlStateHighlighted];
[[UITabBarItem appearance] setTitleTextAttributes:@{UITextAttributeTextColor: [UIColor whiteColor]} forState:UIControlStateNormal];

I have four tabs, and when the user selects any of the last three tabs, everything works fine. But when the user tries to go back to the first tab, the tab switches, but the selection doesn't switch. It still shows previous tab was selected. If they tap again, then it switches. Is there any other change for iOS 7 I should be aware of? It appears iOS 7 is losing track of touches here and there and I was not able to find anything else.

4

1 回答 1

1

我也明白了,我很确定这是 ios 7 中的错误

于 2013-09-13T17:36:06.273 回答