I’m moving from using UIAlertViewto UIAlertControllerbeing introduced in iOS 8. However, I see some strange presentation problems that I don’t see when using UIAlertView. Firstly, when a warning is displayed, the status bar text will not fade:

Also, after displaying the status bar, the back arrow in is UINavigationControllernow installed on the tintColor application, and not on the white tintColor that I installed for UINavigationBar. This affects other elements UINavigationBarthroughout the application, such as the Add (+) and Edit buttons. Before displaying, UIAlertControllerall elements of the panel button were displayed as white.


. :
UIAlertController *view = [UIAlertController alertControllerWithTitle:VALIDATION_TITLE message:text preferredStyle:UIAlertControllerStyleAlert];
[view addAction:[UIAlertAction actionWithTitle:VALIDATION_BUTTON_OK style:UIAlertActionStyleDefault handler:nil]];
[self presentViewController:view animated:YES completion:nil];