How to open iOS app using deeplinking in swift

Viewed 31

How to open my app when i click "Skip this form" text in web page

enter image description here

for that i have added my app bundleid in info like this

enter image description here

with this if i type test.iOSapp:// in safari its opening but i want like this if i click "skip this form" in stripe page how is that possible, please guide me

enter image description here

only from front end deeplinking this happend in Android this is android screen shot

enter image description here

1 Answers

Add following code into info.plist file

<key>CFBundleURLTypes</key> 
<array>
<dict>
<key>CFBundleURLName</key>
 <string>com.companyname.appname</string>
 <key>CFBundleURLSchemes</key>
<array>
<string>iOSapp</string>
</array>
</dict>
</array>

And next you have to add href to your "Skip this form" button something like this

<a href="iOSapp://">Click me!</a>
Related