title: View In Lock Screen and enabledRemoteNotificationTypes - iOS5
body: <p>I've just ran some tests here on the result returned by   </p>
  
  <pre><code>-(UIRemoteNotificationType)enabledRemoteNotificationTypes
  </code></pre>
  
  <p>I'm calling it in the <code>applicationDidBecomeActive</code> delegate method and Loging the result.
  It works fine when alerts, badges or sounds are set.</p>
  
  <p>However, when only the "View in Lock Screen" setting is set in my app push settings, the <code>enabledRemoteNotificationTypes</code> still return <code>UIRemoteNotificationTypeNone</code>.</p>
  
  <p>Yes I get that sound, badge and alerts are disabled in the settings but shoudn't we have some way to detect this scenario in the App ?</p>
  
  <p>In other words : How to know that the user only set the "View in Lock Screen" setting for the app ?</p>