Can we fetch the iOS system ringtone in iOS? - ios

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.

Related

iPhone App: "Inject" audio files into phone conversation

After Googleing and looking through StackOverflow, I haven't found a suitable solution to "inject audio from an iPhone app into an ongoing phone conversation."
As an iPhone app dev newbie, I found Intercepting phone call - iPhone (correct method to hook in CoreTelephony), but I don't want to do ant jailbreaking. I want my iPhone app to insert pre-recorded phrases and noise effects into an ongoing phone conversation.
Can anyone tell me where I would start with that? Any hints, links or just some "general direction" advice would be much appreciated.
The iOS security sandbox actively prevents any (non-Apple) app from injecting audio into another app, such as the Phone app, where inter-app audio is not explicitly supported.

How do I access iPhone's ringtones for my app?

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.

Need to lock all application on the iPhone by using an app

I am developing an app for one of my client,he wants me to provide a functionality to lock all available apps on his iPhone using this app,but i haven't much idea about it,i know about the screen lock like passcode app but not this one.
Please suggest some best tutorial link.
Thanks
You can't access another app functionality from your app according to Apple guidelines so it is not possible.
Unfortunately, it is not possible to lock the device programmatically. There is no available API for this.
It's not possible, Apple didn't allowed it.
This could've been possible in Android but sorry this is impossible in iOS. Apple doesnt allow that.
It's not possible for an app to lock itself down. However if you have access to the device you can set up Guided Access when the app is open, preventing it from being closed. If you have an enterprise setup you are also able to set up Supervised Mode where you should be able to configure Guided Access over wifi.

IOS audio session feasibility

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.

Does anyone know if it is possible to create an ipad app that can be an airplay receiver?

can anyone point to any ios library or developer documentation that would help me accomplish the following:
I would like to build an app that can be the receiver of another ios device using airplay mirroring.
Is this possible? allowed by apple?
That would be annoying to program and Apple would most likely reject it, since you may need to license with them in order to set up an AirPlay utility.

Resources