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.
精彩评论