4

I am writing an App Clip that is invoked from Safari.

After the user starts the app clip from Safari and completes the task in the app clip, how do I close the app clip and go back to Safari? Do I just tell the user that "you're done, go back to Safari" or can I do it for them? Apparently just doing exit(0) in an app will not pass review for the App Store.

Boris Verkhovskiy
  • 14,854
  • 11
  • 100
  • 103
  • did you resolved it ? – Sultan Ali Sep 11 '22 at 22:24
  • Basically, I want to open appClip using safari, just like custom URL Scheme, means by rithing the custom URL Scheme or associated domain in safari and open app clip, is it possible in the development/iphone?, or I need a domain before invoke appClip ? – Sultan Ali Sep 11 '22 at 22:26
  • No, I didn't find a way to do it. During development you can set the opening app clip URL by [setting the `_XCAppClipURL` variable](https://developer.apple.com/documentation/app_clips/testing_the_launch_experience_of_your_app_clip). – Boris Verkhovskiy Sep 12 '22 at 01:04

0 Answers0