title: Swift ios check if remote push notifications are enabled in ios9 and ios10
body: <p>How can I check if the user has enabled remote notifications on ios 9 or ios 10?</p>
  
  <p>If the user has not allowed or clicked No I want to toggle a message asking if they want to enable notifications.</p>