开发者

Can my app be launched from mail? [closed]

开发者 https://www.devze.com 2023-02-18 09:58 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_StackOverflow中文版

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 question

I'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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号