title: Can i get/set the rotation lock status in device's setting on ios programmatically?
body: <p>I want to set the status of "lock rotation" in device's setting programmatically. Is there anyway to do it?</p>
  
  <p><a href="https://i.stack.imgur.com/8OR1Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8OR1Z.png" alt="lock rotation"></a><br>
  <sub>(source: <a href="http://www.lunascape.tv/products/iphone/iLunascape/img/en/Steave18_a.PNG" rel="nofollow noreferrer">lunascape.tv</a>)</sub>  </p>