All Questions

196
votes
5answers
107570 views

Will iOS launch my app into the background if it was force-quit by the user?

I am triggering a background fetch by using the content-available flag on a push notification. I have the fetch and remote-notification UIBackgroundModes enabled. Here is the implementation I am usin...
45
votes
6answers
33274 views

didReceiveRemoteNotification not called, iOS 10

In iOS 9.3, the didReceiveRemoteNotification method gets called on both of the following occasions. 1) When the push notification is received 2) When the user launches the app by tapping on the not...
210
votes
4answers
193783 views

Generate .pem file Used to setup Apple PUSH Notification

I tried and tried to generate .pem file , every time generating certificates from client's account and then generating .pem file using terminal, but its of no use. i followed many links for the same. ...
442
votes
11answers
103033 views

This certificate has an invalid issuer Apple Push Services

I have created certificate to enable Push Services in my app, but every time I try to add certificate in my Keychain, after adding certificate it shows me following error: This certificate has an inv...
187
votes
19answers
102011 views

Determine on iPhone if user has enabled push notifications

I'm looking for a way to determine if the user has, via settings, enabled or disabled their push notifications for my application.
79
votes
11answers
67943 views

Does the APNS device token ever change, once created?

Once created does the push notification device token ever change? Example when the app is updated? or in any other case it can change??
102
votes
12answers
96961 views

iOS application: how to clear notifications?

I've an iOS application where some Push Notification are sent to. My problem is, that the messages/notifications stays in the Notification Center in iOS after then are tapped. How can I remove a notif...
10
votes
3answers
6350 views

What is difference between remote notification and silent notification in iOS?

When I read Apple Docs, they mention 3 types of notification: local, remote, and silent. Local notification can be inferred from its name, that is sent by the app locally. However, what is the diffe...
129
votes
22answers
79826 views

Detect if the app was launched/opened from a push notification

Is it possible to know if the app was launched/opened from a push notification? I guess the launching event can be caught here: - (BOOL)application:(UIApplication *)application didFinishLaunchingWit...
46
votes
6answers
58877 views

didReceiveRemoteNotification when in background

These kind of question has been asked a number of times but i have some specific situation going on. When my application is active and I receive a PUSH message i'm successfully able to parse the cust...

Previous Next