【发布时间】:2013-11-01 22:33:36
【问题描述】:
无论我尝试什么,当用户选择通过电子邮件发送链接(MFMailComposeViewController)时出现的电子邮件屏幕中,按钮始终是默认的蓝色。
我的 AppDelegate 中有这个:
[[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:0.000 green:156/255.0 blue:51/255.0 alpha:1]];
[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
[[UINavigationBar appearance] setTitleTextAttributes:@{ NSForegroundColorAttributeName: [UIColor whiteColor] }];
它确实为MFMailComposeViewController 的标题着色,但不是按钮。我该如何做到这一点?
当我在其他任何地方都将状态栏设为白色时,它也会使我的状态栏保持黑色。
【问题讨论】:
标签: ios objective-c ios7 mfmailcomposeviewcontroller uiappearance