iOS - Return to Safari from Native App without Opening New Tab

后端 未结 2 479
鱼传尺愫
鱼传尺愫 2020-12-13 07:18

I am having trouble figuring out how to switch to Safari from a native app in iOS 7+. I\'ve used UIApplication.sharedApplication.openURL(), but that opens a new

2条回答
  •  眼角桃花
    2020-12-13 08:18

    The behaviour you described is exactly what FB's AppLinks is designed for, and you'll get the same behaviour with all iOS apps that support it (which is quite a lot) out of box!

    By the way Google Maps uses the same component: you can see it if you open Google Maps from let's say Fantastical.app! enter image description here

提交回复
热议问题