1. The Done button and the bottom toolbar buttons (navigation, activity, and Safari) are superfluous in this case. I would like to hide them, but that is not supported by the API and seems to go against Apple guidelines. I want to avoid the risk of Apple not approving the app.
2. Unlike WKWebView, SFSafariViewController provides no way for it to programmatically dismiss itself (It relies on the Done button) and securely return data to the parent swift code.
Is there a recommended approach to for solving these issues or an alternative approach altogether?