Glitch with UIActivityViewController

扶醉桌前 提交于 2019-12-10 16:10:18

问题


Is it just me or in iOS 7 can you not change the text colour of any shared application? For example, if you open up the Mail or iMessage apps does the colour go back to default blue or is there a way to change this? I haven't been able to.

Here are some screen shots. Notice the blue font colour when choosing the UIActivityViewController shared application:

Here is what it looks like and what I want it to look like when opening mail from MFMailComposerViewController:

Here's what it looks like when choosing the mail app from the UIActivityViewController:

The reason I want to change the font colour is because it's hard to read the text font, especially from the shared application iMessage.


回答1:


Have you tried this?

[[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:[UIColor whiteColor]];

More Info




回答2:


Change the Background color of the Navigation Bar with

[[UINavigationBar appearance] setBarTintColor:[UIColor whiteColor]];

Use setTintColor to change the color of the barbutton items.



来源:https://stackoverflow.com/questions/21764552/glitch-with-uiactivityviewcontroller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!