new2ios new2ios - 1 year ago 69
Objective-C Question

iOS open broswer from and App and close it at some point and return to the App?

I have an request but I don't know if it is possible. I need to open a browser from my App (which I know that is possible and I know how to do). Then after some browsing and navigation in the browser it will land at a page which I can control. In that moment I need to close the browser and go back to my application.

Is it possible to do that? And if can you provide me some lead how to do that?

Answer Source

you can use URLScheme in you info.plist

for test you can open your app form other app also


[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"yourScHeme://"]];
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download