简体   繁体   中英

Open URL in new window in swift

I am trying to open an url in safari using UIApplication.shared.open(url, options: [:], completionHandler: nil) but it opens in existing window of safari. Is there any way to open it in a new window ?

No, unfortunately you cannot. Apple does not provide a way to specify how the url is opened.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM