开发者

How to run my programm to process email attachment of specified type on iPhone OS

开发者 https://www.devze.com 2022-12-16 20:47 出处:网络
I need to run my iPhone application when user gets email with attachment of specified type and process 开发者_如何学JAVAit. For example \"some.jpg\". How?You\'re not going to be able to take over a ba

I need to run my iPhone application when user gets email with attachment of specified type and process 开发者_如何学JAVAit. For example "some.jpg". How?


You're not going to be able to take over a basic file type like this on the iPhone. The closest you can come is to implement your own custom URL scheme, which would let you have your application be launched in the same sorts of circumstances if you're the one sending the email...

What this means is that you could make it so an email link like

myspecialimage://mycoolserver.com/some.jpg

launches your special application when a user clicks in.

See this link or the Apple documentation for guidance.

0

精彩评论

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