Reputation: 1462
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?
Upvotes: 1
Views: 2735
Reputation: 477
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.
Upvotes: 0
Reputation: 1079
You can find the answer in Apple's developer documentation by searching for "Implementing Long-Running Background Tasks".
Upvotes: 1