Touch ID dialog showing a second status bar

696 views Asked by At

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)

2

There are 2 answers

0
Waseem Shah On BEST ANSWER

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];
0
Dimi Dim On

Did you see this behaviour on iPhone 6/6+ ? If yes, the way I solved it was by setting the appropriate launching xib so that iPhone 6 and 6 plus devices are using the native resolution without being scaled. (see also this question on how to do that How to enable native resolution for apps on iPhone 6 and 6 Plus? )