Resolved by changing window level property
window.windowLevel = UIWindowLevelAlert + 1;
Frage
I have Timeout screen. if UIAlertView is displaying on screen and application is ideal for some time then lock screen appears, so issue is that lock screen is going below the alert view
Lösung
Resolved by changing window level property
window.windowLevel = UIWindowLevelAlert + 1;
Andere Tipps
Hide alertView and display Timeout screen. After timeout screen dismissal display alertView again.