I see a very weird behavior and I am trying to understand if it is designed that way or simply not handled correctly from my app.
My app sends push notifications in the form of UIAlertViews. When the device is not locked the UIAlertViews appear with two buttons and if the user taps on the right button my app is launched.
What I have noticed is that if the device is black screened to save power and the user taps on the home button and there is a push notification alert from my app with only the OK button waiting for him there, if he slides to unlock the device he automatically enters my app.
Is that a normal behavior or a bug of some sorts? I thought that only UIAlertViews with two buttons allow the user to launch the app.