About Browse with Safari View Controller for iOS
SFSafariViewController lets your users browse a web page, or a website right inside your app. With it, people can enjoy the same web browsing experience they get in Safari including features like Password Autofill, Reader, and Secure Browsing without ever having to leave your app. When you want display websites inside your app without sending people to Safari, the best tool is SFSafariViewController. By using this API, you can effectively embed the Safari interface and many of its key features and privacy protections into your app. SFSafariViewController is best used when you need to display interactive web experiences on websites you don’t own, or showcase parts of your web content that are generally outside the scope of your app. Call SafariViewController.OpenURL(string url) to open an URL in embedded Safari web view. Subscribe to events: SafariViewController.DidCompleteInitialLoad, SafariViewController.InitialLoadDidRedirectToURL, SafariViewController.ViewControllerDidFinish. Call SafariViewController.Close() to close Safari web view for example, if a deep link has been activated.