1

I'm developing two versions of app(android, and ios) In android when i open url from email the system gives me several options of opening it: browser, my app.

I can open the url(http://www.someurl/path?param1=2&param2=1) with my application and get the params. Is there a way to do it in ios? thanks in advance

Wain
  • 118,658
  • 15
  • 128
  • 151
Jenya Kyrmyza
  • 327
  • 1
  • 5
  • 16
  • 1
    yes, there is. did you google it? – Wain Feb 01 '16 at 14:52
  • ye, i did. But i found this http://stackoverflow.com/questions/14227288/open-ios-app-from-url-and-pass-parameters I'm not sure it meets my needs, because url is addappt://?code=abc, not http:// – Jenya Kyrmyza Feb 01 '16 at 14:53
  • @Wain can you give me some link how to do it the right way, because what i saw on google differs from each others – Jenya Kyrmyza Feb 01 '16 at 14:54
  • Tolle lege: https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/index.html#//apple_ref/doc/uid/20000301-SW21 – matt Feb 01 '16 at 14:56
  • @matt ye, thanks, but how to tell the system so it will register your app as the app which can open specific URI? – Jenya Kyrmyza Feb 01 '16 at 14:58
  • 1
    @JenyaKyrmyza Okay: https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html#//apple_ref/doc/uid/TP40007072-CH6-SW10 – matt Feb 01 '16 at 15:20
  • @matt cool, it's what i needed – Jenya Kyrmyza Feb 01 '16 at 15:27
  • Did you solve this issue as I'm trying to do the same – Mohamed Sami Jun 11 '16 at 20:52

0 Answers0