If you get a LinkedIn profile through the LinkedIn REST API , you can find the publicProfileUrl field in JSON:
{ ... "publicProfileUrl": "https://www.linkedin.com/in/eugene-brusov" ... }
Then this line of code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.linkedin.com/in/eugene-brusov"]];
redirects you to the target profile opened in the native LinkedIn application, if installed, or to the profile opened in the default iOS browser.
Tested on iOS 10.0.2 and 11.0.1 .
source share