How to get USSD code response in my ios app - ios

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

Related

Need guideline about IOS notification process with php api

I'm php developer, and i developed an api which is fetching the data from database and converting into json encode for ios app.
According to ios developer ios app hitting api file for notification once user open the app and kill it.
What we need to do?
According to requirement once ios app hit the api and received the data from database then ios app should not received the data again till 20 minutes, in other words i can say that app shouldn't hit again the api file.
What I wanted to know?
I want to know is this possible to do that above mention task (IOS app shouldn't received any notification or data from server till 20 minutes once received it.) in ios app. Ios developer said to me its not possible inside the app, it can be done by server and php side. Can anyone guide me its possible inside the app ? I would like to appreciate.
Yes it is possible from iOS app. Developer can use NSTimer and set time limit to 20 mins.

Is it possible to make silent phone calling on iPhone by using application

I am working on such kind of application where i have to call a mobile no. or land line no. by application. i just want to know that apple allowed to make the silent calling is initiated by the application ?
Also is it possible to read the all sms of iPhone by using a application ?
When you will try to call Mobile number from application, it will open default call application and then you will not get any access.
Not possible to read all SMS of iPhone by using application.

what is the way to get all apps notification alerts to my app from notification centre in ios 7 & 8

I'm working on project which has tricky part. I want to get all notifications from Facebook, Whatsapp and some of the other app to my app notification centre from that i want to send data to the external peripheral device which will notify the user.
You can't. Also this is a duplicate of this thread, so I'll quote from there.
There is no way to get all of these notifications in your own app. You
can use the CoreTelephony to access some of the data related to
incoming calls and you could integrate Facebook and Twitter APIs to
get that data, but you really would have to do it all yourself.
There's no silver bullet here unfortunately!
Even if you used private API, its highly unlikely you'll find a way either, not to mention that your app will be rejected on the app store for using private API.

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

Track whether iPhone user dialled USSD code

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

Resources