Posts

Deep Linking with URL Scheme

Deep linking is very hot topic now-days. Using deep link you can have not only clickable link to open app but you can also move to particular screen. We will discuss here one of the deep linking option which is URL scheme. URL scheme is so easy to integrate. I will guide you the step by step approach how can you implement deep link. 1) First Open Xcode. Go to project settings-> Info , add url type, add new row url type url identifier:  user.validate.phone and scheme: my app 2) When we enter  myapp://user.validate.phone in browser and press open app link is redirected to application and opened the application. 3) If we want to fetch url when application is open we need to implement below method.   for  iOS which is lower then iOS 13 below method is called. func application(_: UIApplication, open url: URL, options _: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool { guard let absoluteString = url.absoluteString.componen...
Recent posts