In the past few days, I have created a special alarm clock for Android. So far so good, the alarm is triggered, and I play some kind of remote sound using HTTP streaming (of course, I need a network, or there is a reserve with local sound). Now it's time to use this app for iOS, I'm a beginner, but I'm not afraid to learn Objective-C, as part of the client is really simple. But from what I see, it seems to me completely impossible. If possible, I need help:
- In the documents of iOS developers, I see this: "For remote notifications in iOS, you can specify the custom sound that iOS plays when it represents a local or remote notification for the application. Sound files must be in the main client application kit." This is bad for me, I would like to play 1 with many sounds, following each other and maybe more than 30 seconds. Is there any work for this?
- In another question, I see: “They can be background audio applications (using UIBackgroundModes in the application) and play silent using audio queues or RemoteIO Audio Unit, even in the background, until the time is mixed with some signal alarm sounds or music, "but someone after that says that checking the AppStore does not allow this. Is this still true?
- In the general question, is it possible now (or in the next version of the iOS version of iOS) to make a simple alarm clock that can play remote sounds without restrictions?
I would appreciate any feedback here, I am very disappointed that I see that this simple function seems impossible. If I’m not mistaken somewhere, and I hope that someone will give me a hint!
thanks for reading!
source
share