I'm trying to make an alarm clock app for iPhone (using Swift). I want to sound option to have the default ringtones in iPhone (just like the built-in alarm clock app in iPhone). What is the path directory for it? How do I access it? Thanks
The ringtones in Clock App are not accessible for other apps.
You can download these ringtones and include in your Bundle App.
Related
I would like to do my app open when iPhone is turned on. I saw that have some people saying can be using voip key in Info.plist but I tried and can't to do that. Do someone have any idea to help me? Thanks
In short, iphone does not have any access to permission to edit about "onboot" or "onstartup."
Thus, without jailbreaking this would not be possible.
Check the links I provided on your comment.
This would not happen, your app will be active in background through pushkit only when your app dismissed before device goes off.
VOIP - The app provides Voice-over-IP services. Apps with this key are automatically launched after system boot so that the app can reestablish VoIP services. Apps with this key are also allowed to play background audio.
Even with "voip" present in "UIBackgroundModes" in "plist", iOS App does not auto start after device reboot in iOS10
https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW1
I want to use the system phone ringtone which user has set into my app. Is it possible to do that?
Currently, I have added a ringtone file in my app and successfully playing that ringtone.
Thanks in advance.
I am sorry to say but is not possible.
You cannot. Apple doesn't release an API Or SDK to export/write ringtones to the operating system.
Is it possible to make a sleep app for iPhone? It's like user sets a time and on that time the iphone automatically turns off.
No it is not possible. There is no public APIs available for switching off iOS device.
I want to make an app which will have some settings option for volume control. When any app will start playing any sound even phone call then the sound volume will be according to volume of my app.
I want to make it in native iOS platform. Does it possible? If possible then any idea or resources How?
The iOS security sandbox will prevent your app from changing the audio settings (including volume) used by any other app.
Is there an API in OSX that I can use to launch my application when users open any app? Something like a global App Launched event?
No. There is no meaningful multitasking functionality in iOS API.