1、xcode6.1 自定义tabbar与poptoview产生重叠问题
这个问题应该是pop的时候栈的问题导致的栈为空导致取出的为tabbar 所以问题是pop的方法不正确出现内存问题(描述有问题)
解决方法:
1、有可能是自己创建tabbar的问题造成的,重新使用一种创建tabbar的方式
2、A push B , BpushC ,C pop A
ViewControllerA *A = (ViewControllerA*)[self.navigationController.viewControllers objectAtIndex:self.navigationController.viewControllers.count-2];
[self.navigationController popToViewController:A animated:YES];
2、ios8上自定义tabbar图片显示颜色是系统颜色问题解决方法:
if (iOS7) {
childVc.tabBarItem.selectedImage = [selectedImageimageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
}else {
childVc.tabBarItem.selectedImage = selectedImage;
}