title: Enable or Disable Iphone Push Notifications inside the app
body: <p>I have a iphone app which is enable to receive push notifications. Currently i can disable push notifications for my app by going to the iphone settings/Notifications.</p>
  
  <p>But i want to add a switch or button inside my app to enable or disable push notifications.</p>
  
  <p>It can be done because i saw it in foursqure iphone app did it. They got a section in settings call notification settings and user can enable or disable different kind of notification for the app.</p>
  
  <p>I look all over the net to find a proper solution for this but still not found a way. Can any one please give any idea how to do that ? </p>
  
  <p>Thanks in advance :)</p>