简体   繁体   中英

iOS when I click on an Associated Domain within my own app, safari is launched instead

I have an associated domain. If I click on a link to that domain from anywhere outside my app, the app is launched.

If I click on it inside my app, safari is launched instead.

Why is this happening? Can I prevent it?

In AppDelegate method

Intercept links from openURL and links from other components like UITextView - present custom alert and on the alert delegate either cancel or redirect to the link

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