This question already has an answer here:
Is it possible to intercept push notifications for another app?
(1 answer)
Closed 4 years ago.
Is there any way to read iOS notifications (like Android's NotificationListener)? I just need to know which app sent a notification.
No, iOS environment is totally different in this respect. It won't allow any application to read any info related to other applications. That's what makes iOS system so secure.
For the same reason(security purpose), you don't have access over notification area of iOS. So to put the answer in a single word it's "NO"
Related
This question already has answers here:
How can I record a conversation / phone call on iOS?
(5 answers)
Closed 5 years ago.
I don't want to see "this is not possible in apple", beacause there are some applications which are already on app store and they record call conversations. So please give me some idea on how to record call conversation in iOS application.
All active Audio sessions are put on halt when the call is active on iOS platform. It is not supported by Apple by design due to security & performance reasons. In short it's not possible to achieve what you mentioned without Jailbreak.
Apple Will not allow it. You can create your VOIP setup and then you can record call. Jail break is another option. There are Cydia tweaks which are able to do that. For example CallRecorder.
This question already has answers here:
iPhone call log / history
(3 answers)
Closed 7 years ago.
I am building an an app that shows aggregated data about calls , similar to this app https://play.google.com/store/apps/details?id=com.movinapp.calls&hl=en .
I am wondering if my app can access call / sms logs e.g. what calls the user made to what numbers.
Assuming the users grants permission to my APP, I am interested in knowing if (any) API is available and can be accessed via objective-c.
No, unfortunately, (or maybe fortunately given what some apps do with user data) that information is not accessible via the iOS public API.
This question already has an answer here:
Is it possible to raise an event when iPhone shuts down?
(1 answer)
Closed 8 years ago.
I was wondering if I can be able to detect when the user turns off the phone. Is it possible? Does apple allow it? If they do, how? Thanks.
As shutting down the device is an external event and has nothing to do with your app, you won't be able to find out if the user is trying to turn it off. The only thing you can actually find out is when your application is going to enter the background, what does not necessarily mean that the user turns the device off.
Checkout UIApplication Delegate Ref
As far as I know there are only few notifications allowed from the UIDevice, you can find them here.
There are some undocumented private frameworks, which could provide you such information, but if you use them, your app will be rejected.
This question already has answers here:
Is there another way of launching the Messages app in iOS? (for donations)
(2 answers)
Closed 8 years ago.
I want user to able to send messages from within my app in an interface similar to the iOS SMS app. Is it possible to embed and possibly customize the sms app into your application?
Yes, you can send SMS from your app by using MFMessageComposer. But you can't receive sms in IOS like Message app. If you try to do that, apple will reject your app.
Yes.. Try this sample.. Implement this code in your app.
Message Chat Sample
This question already has answers here:
Programmatically get own phone number in iOS
(9 answers)
Closed 9 years ago.
I am building an IOS6 app which requires the user's phone number,
Is there a way to ask the user for permission and get the number in programmatic way?
Or he has to manually type it in?
I am using Xcode 4.5 if it matters..
You can't get the phone via any easy API within iOS. There might be a way to do it via the technique described in this related question, but this is a few years old and Apple may have closed this hole (which uses an undocumented key). I also wonder if Apple wouldn't allow the app on the App Store for privacy reasons. Probably not.
You'll have to trust the user to type in the correct phone number if you prompt him/her to.