IOS Swift Email Deep Linking
I need my users to click on the email url to open their app. I have daily updates that I send to my users. I have url links in this email. I just need to get my users to open the app when they click on these email links.
The email address is here: http://kavin.com/login?redirect_to=calendar?cal_navigation=2017-03-23
+3
source to share
2 answers
use a callback method to handle the referral source
func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: Any) -> Bool {
print("source application:\(sourceApplication)")
let value: String = url.absoluteString as String
print("value :\(value)")
print("scheme: \(url.scheme)")
print("query: \(url.query)")
return true
}
+2
source to share