r/ObjectiveC • u/Dharmink • May 17 '20
Objective C code - Duplicate Declaration Issue
/r/reactnative/comments/glk1ai/objective_c_code_duplicate_declaration_issue/
2
Upvotes
r/ObjectiveC • u/Dharmink • May 17 '20
View all comments
Show parent comment
1
u/Dharmink May 18 '20
Ohh Pretty interesting to see how the lingo and syntax is different from native development vs JS development.
Thanks a lot i finally was able to solve the problem by doing this which was told to me by someone from the react native community.
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)URL options:(NSDictionary<NSString ,id> *)options { if([RCTLinkingManager application:application openURL:URL options:options]) { return YES; } else if([[Twitter sharedInstance] application:app openURL:URL options:options]) { return YES; } return NO; }
Thanks for taking the time out and helping me understand this. Really Appreciate you helping even after knowing it was a stupid question.
Thanks Again, Take Care and have a great day ahead!