title: didFinishLaunchingWithOptions not called
body: <p>I'm having trouble enabling push notifications.</p>
  
  <p>with this code I try to enable the notification:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
  
      [[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationType)(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
  
      return YES;
  }
  </code></pre>
  
  <p>It doesnt work, so I added a breakpoint in the line</p>
  
  <pre><code>[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationType)(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
  </code></pre>
  
  <p>But it seems this part of the code is never execute. </p>
  
  <p>why is this not working?</p>