Deep Linking in iOS
Deep Linking :- A Deeplink much like a traditional hyperlink on a webpage. It is composed of separate elements that make up what is referred to as a Uniform Resource Identifier (URI)/URL Schemes. The URL Schemes contains all the information that, when invoked, launches a mobile application with a specific screen. The URL Schemes Contain " ecommercebrand://" these type of word to redirect from safari to application. Handling the opening of registered urls within your app Now that you have ensured that deep linking is working, we need to handle the url used to launch the app. In it’s current state, your app can be launched using a simple url, but it can’t do much beyond that. To do more, we need to override the following function in AppDelegate : 1 2 3 4 - ( BOOL ) application: ( UIApplication * ) application openURL: ( NSURL * ) url sourceApplication: ( NSString * ) sourceApplication annotation: ( id ) annotation