I am trying to enable push notifications on my existing iOS app. I have gone through all the steps mentioned on this webpage:
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
Everything on the server side is implemented. I created a new certificate for push notifications, and I ran my app using the existing provisioning profile I have. Yet it doesn't ask me for permissions for push notifications. Maybe I have missed something out? Or do I have to create new provisioning profiles? I am using a wildcard provisioning profile.
iOS prompts for permission when your app calls application:registerForRemoteNotificationTypes:
generally called in your Application's application:didFinishLaunchingWithOptions
method.
Don't forget to send the device token to your APNs server in the application:didRegisterForRemoteNotificationsWithDeviceToken:
delegate method.
You will most likely need to update your app to add such functionality, and update the App ID and provisioning profile to allow APNs.