title: How to Programmatically Determine Supported App Orientations?
body: <p>I am working on a third party library that can go into any app. My library provides functionality that depends on what orientations are supported within an app. I am wondering if there is any reliable, programmatic way to retrieve the list of supported app orientations in any given app. This is important so that I may be able to modify what functionality is available for my library based on what orientations are supported.</p>
  
  <p><strong>Note:</strong> Considering this is a library, I need to be able to consult <em>one</em> reliable place for this information.</p>