title: Register for Apple Push Notifications
body: <p>My question is I used the following code:</p>
  
  <pre><code>[[UIApplication sharedApplication] registerForRemoteNotificationTypes:
   UIRemoteNotificationTypeBadge |UIRemoteNotificationTypeAlert |UIRemoteNotificationTypeSound];
  </code></pre>
  
  <p>in </p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  </code></pre>
  
  <p>But it never shows the alert asking the user if he want to receive push notifications.</p>
  
  <p>I configured my provisioning profile on App ID for push notifications enabled for development. I downloaded the certificate and provisioning profile and added it, and then, running on iPad mini I never receive the alert. What I am doing wrong?</p>