Search code examples
iosios8uistatusbartouch-id

Touch ID dialog showing a second status bar


When I let the user login into my app with Touch ID, I get the dialog (which by the way is very ugly and cannot be customized) and I also get a second status bar, which looks like this:

enter image description here

Is there any way to hide the status bar? If not, set the status bar style to my style (UIStatusBarStyleLightContent)?

(I also would be very happy if someone knows of a way to customize the dialog, more than just changing labels)


Solution

  • i fixed this

    just hide status bar when open touch id like this

    [[UIApplication sharedApplication] setStatusBarHidden:YES];
    

    not show after failure or success with perform selector with 1 sec delay like this and my code working perfectly

    [[UIApplication sharedApplication] setStatusBarHidden:NO];