views:

97

answers:

1

I need to run my iPhone application when user gets email with attachment of specified type and process it. For example "some.jpg". How?

+2  A: 

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.

David Maymudes

related questions