Is it possible to answer a call programmatically in iOS? [duplicate] - ios

This question already has an answer here:
Programmatically answer an incoming phone call on iPhone
(1 answer)
Closed 9 years ago.
Is it possible to programmatically answer a call in iPhone? I have already googled about this and found that iOS SDK does not support such feature. But I found an answering machine app in Appstore.
https://itunes.apple.com/in/app/prank-answering-machine-free/id508457142?mt=8
Please help me out.

No this is not possible, the iOS SDK does not allow any interaction with the phone.app.
Also the app you have found is a prank app, one that you start if you receive a call and the play back one the messages from the app.

No, that is not possible. The CoreTelephony framework lets your application receive notifications if there is any change in the call state, but there is no way to answer it.
The app that you mentioned does not say anything about answering a call, from what I can see.

I would say it depends. If you want to make a app and publish it in app store, its not possible. However if you want don't want to publish on app store and willing to use private api, then its possible. Refer this answer.

Related

Extend existing independent WatchOS app with iOS app and share data between them

First of all, I'm a newby and I'm sorry if this question is already answered. I searched and I didn't found any similar.
I already have and independent WachOS app and works fine by itself. At firs I thought that with it alone will be enough but now I realized that with an equivalent iOS app I could reach more people. So now I'm wondering if it's possible to modify my Xcode project in order to add an iOS app with the same content and functionality as I have in the WatchOS app and both of them sharing the same data, that is, if I change a value in one of them, later I will see this value updated in the other one.
Thx in advance
If you already uploaded the app to the AppStore then I'm afraid it's not possible. Source: Reverting from an Independent Watch app, to one that is dependent on an iPhone app

How to get the list of Alert tones in iOS? [duplicate]

I have a task to access the system ringtones in my iPhone application. I want to know if it is possible to access them? If not, please explain the reason.
No it's not possible via the official SDK.
No, it is not Possible in iPhone, If you want to submit your app in app store.

can I send a user to the iPhone's lock-screen? [duplicate]

This question already has answers here:
Programmatically lock and unlock iPhone screen
(8 answers)
Closed 8 years ago.
I've seen an app that activates the lock-screen after showing a local notification (so the user has to enter the passcode).
... and now I wonder how they did this, since I need this kind of functionality for one of my projects. It might even pass Apple's review process because it does make sense for this app... (and, yes, I'm aware that Apple might reject it, but I'd like to give it a shot).
How would I do this???
I don't believe it is possible as the framework that handles this is private.
iOS 8.1 does not offer API to do this. Most likely you have seen an App implementing its own lock screen. You will need to implement something similar.
You can find examples on GitHub, e.g. https://github.com/venmo/VENTouchLock

get the information on the last closed iOS App

I am working on an iOS App and have stumped on one of the odd requirement that my client would like to have. We want to exit from app A and open app B then close app B and open app A again, We are trying to get the name of the app B which was closed recently. Is this something that can be done? If yes, how do I accomplish this?
Thanks for all of yours help!
It is not possible to get the last closed iOS app, but if you have two apps and you want to be able to move between the apps you may be able to use URL schemes. URL Schemes Documentation Here: http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/AdvancedAppTricks/AdvancedAppTricks.html#//apple_ref/doc/uid/TP40007072-CH7-SW18

No Access to udid [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
UIDevice uniqueIdentifier Deprecated - What To Do Now?
I have learnt that apple is going to remove the access of udid from the system in iOS5.For All of us who rely so much on this,what would be the solution?Even ads and analytics would seize to work.Would there be a work around for that?Thanks for any answer
Apple is NOT removing access to UDID, it's just deprecating it.
So, Apple doesn't want you to use it anymore, but they will not forbid it yet, they just strongly recommend using a new feature of iOS 5 that shouldn't be discussed here while under NDA. Compiler will give you a warning if you access udid, but it's still there and it works, so stop spreading panic.

Resources