Live Wallpapers app can play video on lockscreen. How does it do this?
Judging by the reviews, the answer appears to be "badly, if at all". One reviewer notes succinctly:
The animation doesn't stay up unless the app is open...
My first guess would be that it generates a sequence of images and cycles the lockscreen image through each of them.
Related
Is there any control or way we can play video in Apple Watch app. I can see Image, Button, Label etc.. controls but couldn't find a way to play a video.
Any help will be appreciated.
Thanks
There is no way to playback video on the Apple Watch currently. And I doubt there will be for some time (if ever) due to the very small screen size.
Since this is possible now, I am adding some reference URL so other developers can get an idea and possibility for this.
Watch OS 2 comes up with plenty of nice features and Audio and Video are part of this.
In my app I need to play some sounds like beeps at a particular intervals of time (May not be uniform intervals), even the app is in the background. I have gone through the google and many suggested to use AV Foundation’s AVPlayer. I have gone through the following tutorial also.
http://www.raywenderlich.com/29948/backgrounding-for-ios
This tutorial explains how to play a queue of items.
But in my app there will not be any continuous music. Just we need to play some sounds while the app in foreground or background.
Simply i need to play sounds as RunKeeper does.
Please help me out.
You can try scheduling a local notification and providing a custom sound: https://developer.apple.com/library/ios/documentation/iphone/Reference/UILocalNotification_Class/Reference/Reference.html. This will also display an alert in notification centre / lock screen though.
I have a music player app which implements background audio. I’m trying to update the screenshot in the iOS7 multi-tasking switcher when the track changes. So, if I background the app during Song A, it finishes and Song B comes on, if I then go into the tray I’d like to see a screenshot showing Song B’s artwork, title, etc.
I’ve done some digging and not managed to find any way to tell iOS to update short of implementing Background Fetch and going all out with that. Is there another means of doing this, something I can call to tell it to refresh it when my tracks change?
Apple does not provide any means of doing this. Even iOS own media player does not have this ability.
I am planning to build an iOS App wherein my App would auto-play all songs from my defined playlist (one after the other). So as soon as my App ia launched, the first song in my playlist would auto-play, then, as soon as this song ends, the second song in the playlist should auto-play. Also I do not want user to access Play and Pause buttons while the song is playing.
Please suggest if this is possible. Would Spotify reject my App if Play and Pause button are not shown to users?
If it's to meet requirements of Human Interface Guide
that they wouldn't reject you. How I know, your app is meeting requirements. (but I didn't read all HIG documentation)
I've searched the Internet for a while to try and find an answer to this. If you open up the multitasking bar and swipe to the left there are music controls that can be used by whatever app is playing music (ie Music, Pandora, etc.). I have not yet discovered a way to use these in my own music playing application. Does anyone know how to do that?
You should take a look at this example in the Apple API docs examples. It's basically what you want, a small audio player that interfaces with iTunes, lets you pick songs from the library and behaves much like the standard music player, including the music controls callbacks.