-2

how I can open url in native inner browser in app, like this

Attention: this is not UIWebView

inner browser

EvGeniy Ilyin
  • 1,817
  • 1
  • 21
  • 38

1 Answers1

5

Try this code for swift, you can open default browser (Safari) in your APP using below code

import UIKit
import SafariServices

let url = URL(string: "https://www.google.com")
let vc = SFSafariViewController(url: url!)
present(vc, animated: true, completion: nil)
EvGeniy Ilyin
  • 1,817
  • 1
  • 21
  • 38