I am trying to open an YouTube video from iOS application, using the code below :
UIApplication.SharedApplication.OpenUrl (new NSUrl ("YouTubeLink"));
It opens the video in YouTube app installed or in Safari if its not preinstalled. Now the issue is when its opening YouTube/Safari app there is no way to go back to my iOS application(prior to iOS 9). In iOS 9, I noticed it maintaining a link which allows users to go back to the application where the call was initiated. Following is the screenshot :
Is there any way I can implement the same thing prior to iOS 9 i.e iOS 8 and iOS 7? Any configurations or settings?
Thanks a ton in advance!