我可以设置UIBarButtonItem的tintColor成功
UIBarButtonItem *backItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"icon_back"] style:UIBarButtonItemStylePlain target:self action:@selector(backAction)];
backItem.tintColor = [UIColor redColor];
self.navigationItem.leftBarButtonItem = backItem;
我在AppDelegate中调用下面的代码后会失败设置UIBarButtonItem&#t; tintColor
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
[[UITextView appearance] setTintColor:[UIColor redColor]];
return YES;
}