Currently, I'm developing a share extension for Safari on iOS. Our approach involves utilizing the default UI provided by iOS and extending the SLComposeServiceViewController class. In addition to this, I have incorporated a JavaScript function to extract page content and configure certain parameters. Surprisingly, while the UI functions perfectly in displaying the preview without the JS file, it fails to do so once the JS file is added. Can anyone shed light on why the preview might not be appearing? Could there be a specific setting in the info.plist file that needs to be configured to enable the preview?