title: How to programmatically determine if my iMessage app extension is enabled from main app?
body: <p>In the iOS Messages App Store users have the ability to control which extensions are 'added' and available to use from the iMessage Extension tray. If the app extension is not 'added' the user cannot use it and does not see as an option in their extension tray while typing a message.</p>
  
  <p>I have a main app that includes an iMessage extension app.</p>
  
  <p>My question is, if I have a main app that also contains an iMessage extension, how can I/can I programmatically determine what this preference is for my extension from within the main application? </p>
  
  <p>The <a href="https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/" rel="nofollow noreferrer">documentation</a> and a look into the <a href="https://developer.apple.com/reference/messages" rel="nofollow noreferrer">Messages framework</a> doesn't mention this ability but perhaps there is way someone knows?</p>