I have a youtube video running in my iPhone app…. How can I make it to where the user can hit the lock button but still be able to listen to the video, but just not see it?
So basically you have a Youtube video playing in my iPhone application. How can the user turn of the screen but still keep the audio from going out as well?
Is this possible if so how?
This is not possible if your device is not jailbroken. Apple doesn’t allow app developers to publish such apps due to their strict rules. You can have a look at the Apple’s Human Interface Guidelines here
If your device is jailbroken, then there might be some tweaks in cydia for this.