Resolved by changing window level property
window.windowLevel = UIWindowLevelAlert + 1;
Pergunta
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
Solução
Resolved by changing window level property
window.windowLevel = UIWindowLevelAlert + 1;
Outras dicas
Hide alertView and display Timeout screen. After timeout screen dismissal display alertView again.