简体   繁体   中英

setting the default applications for a file type in iphone

Hai all,

In my iphone application i want to open a my custom application(available in the iphone) when the user tapes on a particular type file sent by email or MMS ,

for example, if i sent an music file (via email or MMS) with a custom extension (for eg: .muc) i want to open my application (lets say myMusicPlayer) to play that file,

is there any way to do that in iphone ?

thanks in advance

There is currently no way to do this exactly. The only way to open an application is using a URL scheme assigned to your app via the Info.plist file but you wouldn't be able to send the local file system location of your file to it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM