Can my app be launched from mail? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this questionI'm working on a new app and would love to have the following feature. If the user is in Apple's Mail, s/he can have the option to open my app.
EDIT: The comments have pointed me to this question, which is perfect for handling attachments, which I also want to do, but I also want the user to be able to copy some text, a date or an e-mail address, and then open my app with that information in tow.
Is there an API set up whereby I can do this?
Thanks!
You can create a custom URL scheme for your app, something like app://path - this is how Facebook handles things, they have URLs like fb://profile/12345
.
http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
精彩评论