When I\'m using a UIActivityViewController
, after the user chooses an activity (such as Mail or Message), I can not change the text color for the status bar nor
I believe the code to change the navigation bar color is this:
[[UINavigationBar appearance] setBarTintColor:[UIColor whiteColor]];
This is for changing the colours of the navigation bar buttons in iOS 7, if you might need it:
[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
And this is the code if you want to change the colours of the buttons in iOS 6:
[[UIBarButtonItem appearance] setTintColor:[UIColor redColor]];
This code is also for iOS 8+ to change the bar button text color for UIActivityViewController activities (like sharing via Messages or Mail Composer).