title: How can I detect if UI orientation is locked or not on iOS?
body: <p>Is it possible to detect UI orientation is locked or not currently? If so, how can I do that?</p>
  
  <p>I want to do something with gravity sensor when only UI orientation is not locked.</p>