title: iPhone client not registering for push?
body: <p>I "think" my app is not registering for push notifications.</p>
  
  <p>It should be as simple as adding the code to didFinishLaunchingWithOptions and then the when tested the app alert for push notifications should (but does not in my case) pop up.</p>
  
  <p>my code:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
  // Override point for customization after application launch.
  
  self.window.rootViewController = self.viewController;
  [self.window makeKeyAndVisible];
  
  [[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge |UIRemoteNotificationTypeSound)];
  
  return YES;
  }
  </code></pre>
  
  <p>This is an iPad app.  It is running without push on my real device so I assume the provisioning is correct.  </p>
  
  <p>Any ideas?  I do not get the push  Don't allow/ok pop up.</p>
  
  <p><img src="https://i.stack.imgur.com/PhFvq.jpg" alt="push"></p>