UIActivityViewController inside iMessage app/extension
<p>I am trying to show UIActivityViewController inside iMessage app. In both modes (compact/expanded) it is not shown properly/fully. See attached images. Is there any way to correct this?</p>

<p><a href="https://i.stack.imgur.com/ptUtX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ptUtX.png" alt="Expanded mode"></a>
<a href="https://i.stack.imgur.com/WvQ4B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WvQ4B.png" alt="Compact mode"></a></p>