LSItemContentTypes to import m4a from Voice Memos

Hey guys,


We want to be able to copy a file created in Voice Memos into our application. The format voice memos saves a file in is m4a, except when we try to import the file into our application, iOS doesn't recognise our app as an option. I can't seem to find a UTI type that accepts this. All the standard .m4a UTI types don't seem to work. Does anyone know what the UTI type is to allow us to copy a file from voice memos across?


This is the current entry we have in our Info.plist for CFBundleDocumentTypes:

<dict>

<key>CFBundleTypeName</key>

<string>.m4a</string>

<key>CFBundleTypeRole</key>

<string>Viewer</string>

<key>LSHandlerRank</key>

<string>Alternate</string>

<key>LSItemContentTypes</key>

<array>

<string>public.mpeg4</string>

<string>public.mpeg-4-audio</string>

<string>com.apple.protected-mpeg-4-audio</string>

<string>public.audio</string>

</array>

</dict>


The full list of UTI types is available here: https://developer.apple.com/library/ios/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html#//apple_ref/doc/uid/TP40009259-SW1


Any help really appreciated as I'm stuck on this.


Tim

Anyone?

I still haven't resolved this issue after having posted on multiple forums 😟


Any thoughts are so appreciated right now, even if it's just to say whether its doable or not?


Link to my stackoverflow question as well: http://stackoverflow.com/questions/36763390/export-audiofiles-via-open-in-from-voice-memos-app

I am also stuck in the same issue. Any success Tim?

Hi,

check this file /System/Library/CoreServices/CoreTypes.bundle here you can find

You need to add the identifier to your plist document types with Types: com.apple.m4a-audio

Then you app is visible when you want to share a voice memo.

Best regards.

LSItemContentTypes to import m4a from Voice Memos
 
 
Q