11

Is there a deep link that will open a page in Safari from another app?

I have tried

safari://https://www.google.com

safari://www.google.com

but it doesn't work. I get the pop-up asking if I want to leave the current app, but Safari doesn't open.

This is the equivalent for Chrome, which works:

googlechrome://www.google.com
6
  • Have you tried just https://www.google.com? Commented Aug 19, 2018 at 12:50
  • 5
    That's just going to open that page in the current app browser. I need to open Safari. Commented Aug 19, 2018 at 13:02
  • Are you doing this from a web app or a native app? If you are using a web view in a native app, which component are you using? Commented Aug 19, 2018 at 13:16
  • 2
    This would be from the website. If someone views a certain page in the Facebook/Messenger browser then I'd want them to have the option of opening a page in Safari. From what I'm seeing, there doesn't seem to be a deep link URL for Safari like for Chrome and many other apps. Commented Aug 21, 2018 at 20:25
  • 4
    @user984003 did you find any solution? I'm having the same problem. Commented Mar 27, 2019 at 14:24

2 Answers 2

-1

x-safari-"your website"

New contributor
user32588094 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
Sign up to request clarification or add additional context in comments.

1 Comment

As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
-2
safari-https://www.google.com ...

is the simple solution to this issue

1 Comment

Doesn't work. Received Failed to open URL safari-https://google.com: Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=225, _LSFunction=-[_LSDOpenClient openURL:options:completionHandler:]}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.