I am using Branch.io to implement Universal Links in my app. Every time I copy and paste a Universal Link (from my app) to Notes I click on 'OPEN IN (APP)' and it redirects me to the wrong view controller. It directs me to the the main view controller that the user sees when they first open the app. Something must be wrong with my Deep Link Routing in my AppDelegate.m file:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
Branch *branch = [Branch getInstance];
WebDeepLinkViewController *WebDeepLinkViewController = [[UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]] instantiateInitialViewController];
[branch registerDeepLinkController:WebDeepLinkViewController forKey:@"Article"];