I observed a strange behaviour that If I run the app via XCode while the phone is connected using USB the app never lets the iphone home screen to timeout and lock after 1 minute.
But If I disconnect the USB and launch the app then the screen goes lock after 1 minute.
Is this a default behaviour?