代码在ios6及以下版本正常工作,但在ios7中无效。当在标签栏之间切换视图时,应用程序会在第二次切换相同选项卡时崩溃。在delegateController中,它正在崩溃
case 1:
{
btnMoreSelected=NO;
//[tabBar setSelectedIndex:0]; (here)
[imgMore setImage:[UIImage imageNamed:@"more.png"]];
[imgMyConnection setImage:[UIImage imageNamed:@"connect-req.png"]];
[imgIceBreaker setImage:[UIImage imageNamed:@"my-ice-brkr.png"]];
[imgSetting setImage:[UIImage imageNamed:@"settings-nav.png"]];
[imgSearchView setImage:[UIImage imageNamed:@"search-hover.png"]];
[imgSearchSeparator setHidden:YES];
[imgSettingSeprator setHidden:NO];
[imgIceBreakerSeparator setHidden:NO];
[imgMyConnectionSeprator setHidden:NO];
}
break;
错误获取是
[_UINavigationBarBackIndicatorView frame]: message sent to deallocated instance 0x100b1180
请提前指导以上感谢。