Resolved by changing window level property
window.windowLevel = UIWindowLevelAlert + 1;
题
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
解决方案
Resolved by changing window level property
window.windowLevel = UIWindowLevelAlert + 1;
其他提示
Hide alertView and display Timeout screen. After timeout screen dismissal display alertView again.