Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

iOS MP3 Player with iOS Control Center / Background Music

$
0
0
I want to create a MP3 Player app for Android and iOS. I figured out, that when Unity is put in the background a sound from an AudioSoure stops playing (which isn't that much of a suprise). Since I have experience with Android I think I can handle this: I will use a service to manage a MediaPlayer. To this Service I will pass "Playlists". These Playlists will be json arrays of MediaItems. A MediaItem will contain artist album path to artwork path to mp3 Artwork and MP3 will be stored in Application.persistendDatapath, for both, Android and iOS. Using a service allows me to continue playing even if the app is in background. I'm also planing implementing lockscreen and notificationbar controll. Unity will be called if the user presses such a button. Also Unity will be able to get the current MediaItem. The question is, how can I achive all this on iOS? I'm very very new to iOS and Objective-C (that language seams pretty ugly compared to languages I know o.O). I want to use the iOS Control Center / the IPod Dock (don't know what these things are actually called). I'm gratefull for any code/tutorial/link/plugin etc related to this. I also hope that my plans are understandable. Best regards Eric

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>