In iOS 8, when presenting an UIActivityViewController
, trying to set status bar content light does not work. It shows black text.
I've tried:
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
[viewController presentViewController:activityViewController animated:YES
completion:^{
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
[[UIApplication sharedApplication]setStatusBarStyle:UIStatusBarStyleLightContent animated:YES];
}];
View controller-based status bar appearance is set to NO in the plist.
Also tried this with no luck. It could very well be a bug, as I don't have this issue with MFMailComposeViewController
.