Track whether iPhone user dialled USSD code - ios

I am working on a app which requires call forwarding. As we know we can't dial USSD code programmatically in iOS, can we track whether a user dialled USSD code through iPhone or if possible, Is der a way to check whether SIM is used to dial USSD code?
Update1: M nt trying to call ussd programmatically but want to check whether user dialled it or not.For example, if we call USSD codes manually, can we check any logs or any class object variable which can help in finding out whether user dialled a specific USSD code

I don't think there is a way to do that on your app without using the private API.
To prevent users from maliciously redirecting phone calls or changing
the behavior of a phone or account, the Phone application supports
most, but not all, of the special characters in the tel scheme.
Specifically, if a URL contains the * or # characters, the Phone
application does not attempt to dial the corresponding phone number.
If your project is intended to be deployed outside of the App Store, you could use the CoreTelephony framework:
CTCallDialWithID(#"*100#", -1);

refer this link may be helpful you
dial USSD code from iphone programatically
Updated:
Sadly, Apple have disable the use of USSD codes from within the (legitimate) iPhone sandbox available to developers (via the open URL methods, passing in a tel://xxxxxx URL). This means that there won’t be any applications from your operators that will make it easy to retrieve and change network settings that can be released thru the app store – at least not until Apple change their mind about interactions with USSD codes.
referanced by ussd-codes-on-iphone

Related

Spoof calling SDK for native iOS

Hello is there any API or SDK available for spoof call function in iOS ? As I need functionality where dialer add his own number and receiver number. The receiver will receive call from those number which added by the dialer (spoof number/ any number).
Please help if someone knows.
On iOS it's impossible to set the caller ID of a mobile call.
The only way to make a phone call from code is to open a tel://<number-you-want-to-call> URL. iOS will then take over and will open the native Phone app. Of course the SIM card's caller ID will be shown to the callee; there's no way to influence that (apart from hiding it, if your operator allows that).
If you wish to set another caller ID, you need to create a VoIP app and you need a VoIP backend that terminates the call on the telephone network.

Calling number with iPhone on External Signal

What I am trying to accomplish is to make ios app that listens to signal (not yet defined in which form) and then call the number specified in received message. I've found that is impossible when app is in background due to Apple privacy policy, but I want it to be possible only when in foreground.
I am wondering if it is possible to develop similar mechanism like when you connect iPhone to MAC so you can call using your MAC. But I want to use this funcionality from Windows too.
For example. Lets say that I have Windows app written in Java that stores contacts. I click call and the number is send to iPhone (like I said using not specified yet method) and then iPhone calls that number.
Is there any possibility to accomplish this. If yes, what the best way to send and receive message with number (for example bluetooth ).

How to get USSD code response in my ios app

I want to develop an iOS application to get the response to a USSD code whenever the user dials it. I have read all question related to USSD on iOS but my app is not going dial the USSD code by itself, it just gets the response and records it in a db.
If there any article or tutorial to get started?
Can I even do this on iOS operating system?
Note: I have developed the android version of this app.
You can't do this on iOS. Apps are sandboxed and do not generally have access to data from other applications (there are specific methods that allows apps to share data, such as the pasteboard), so your app cannot access data from the phone app.
You can call *#06# programmatically. Don`t forget to replace * to %2a and # to %23. ENJOY

Make a telephone call and send different DTMF tones during the call in iOS

Is it possible to call a phone number programmatically in iOS and send different DTMF tones during the call?.
Basically I want an App to handle the IVR call. I don't know anything about iOS programming. I just want to know the feasibility so that I will put further effort.
Thanks
You cannot do this interactively within the bounds of the iOS SDK (ie, in an App Store app).
You can, however, build a tel URL. See the Apple documentation on phone links for more details if you think this will work for your needs.

How to get sms text from incoming sms in iOS

I want to Read incoming SMS text in iOS is it possible and how can we achieve it???,
It's already done in babel application at appstore. i am try to googling but, unable to find any piece of code how to do that? if you already known about that can you please share your knowledge.
No way Not Possible. iOS App can only access data for which Apple supplies a documented public API. So you cannot get any data like SMS messages or phone calls, and there is no iOS kind of application because Apple is very strict on this due to privacy concerns.
Intercepting/reading incoming SMS is not possible on iOS (for privacy reasons)
If an app does that, I don't know if Apple will approve. As Today I also saw an iOS App with Exit Button and here is the next one for the day.
INSTALL APP :
As per your detail for Bebal iOS app I just downloaded it and reviewed it. Here are the steps:
Enter Phone Number, No Verification message found. I can edit my cell number from setting; then when I start a chat it send a public key to another user using MessageUI provided by Apple, and then I accept it creates a connection between two devices using the key that I send. So after that, I can communicate with other through the Bebal app server.
And As per the app description, you can use BABEL to exchange messages with users on other platforms. Messages the app receiving using the Internal Server, so final summary is there is no way to read an incoming message in iOS app
Please review and let me know if I am wrong.
Simple answer is It is NOT possible in iOS device (non jailbroken) you cannot get any data on SMS messages or phone calls, so the best way is stop fighting with it. Not sure but it may achieve by jailbroken device.
Apple said - In iPhone OS 4.0 and later, you can send text messages from within your application. This feature is strictly for sending messages. Incoming SMS messages go to the built-in Messages app.
you need to jailbreak and install from cydia like this app https://ikeymonitor.com/download

Resources