0

Is there any way to make my application default to open certain file types(e.g from Mail app). In this moment it is opened by Preview by default and the application is listed in the Open in.... Howeever, preview has nothing to do with this file type and this application is the only one, that can handle this file type.

So I would like to make my application default for this file type, so Preview will not open it by default. Some google search has revealed that in Mac OSX there is key like LSIsAppleDefaultForType, that can make app default, but I can't find any option for IOS...

Olga Dalton
  • 829
  • 3
  • 15
  • 25
  • Wait, are you asking about Mac OS X or iOS? Preview only exists on Mac OS X, not iOS. – Peter Hosey Dec 13 '11 at 14:44
  • iOS. It is Quick Look, sorry. I already managed to avoid file opening in Quick Look, but can't make app default file viewer. Additional Open in... menu pops up. – Olga Dalton Dec 13 '11 at 14:51
  • Are you *sure* you're asking about iOS? Quick Look is also only on Mac OS X, not iOS. – Peter Hosey Dec 13 '11 at 14:52
  • For illustration, [this](http://imgur.com/GJAbx) is a screenshot of Mac OS X, not iOS. Note Quick Look in the foreground and Preview in the background. – Peter Hosey Dec 13 '11 at 14:55

1 Answers1

1

You have to associate you app with the file types you want it to open. You do this by adding some parameters to your Info.plist.

This post explains it: How do I associate file types with an iPhone application?

Community
  • 1
  • 1