Skip to content

Instantly share code, notes, and snippets.

@urouro-net
Created June 13, 2019 04:26
Show Gist options
  • Save urouro-net/b833fe86fbde3672142c32a9e12a7e3b to your computer and use it in GitHub Desktop.
Save urouro-net/b833fe86fbde3672142c32a9e12a7e3b to your computer and use it in GitHub Desktop.
`AVURLAsset.audiovisualTypes()` list without `dyn.*` in iOS 12.3.1, iPhone X
for type in AVURLAsset.audiovisualTypes() {
if !type.rawValue.hasPrefix("dyn.") {
debugPrint("\(type.rawValue)")
}
}
"public.pls-playlist"
"public.aifc-audio"
"com.apple.mpeg-4-ringtone"
"com.microsoft.waveform-audio"
"public.3gpp"
"public.3gpp2"
"org.xiph.flac"
"public.avi"
"com.apple.itunes.audible"
"public.aac-audio"
"public.m3u-playlist"
"com.apple.quicktime-movie"
"public.aiff-audio"
"com.apple.m4v-video"
"org.3gpp.adaptive-multi-rate-audio"
"com.apple.coreaudio-format"
"com.apple.m4a-audio"
"public.mpeg-4-audio"
"public.mpeg-4"
"public.mp2"
"public.mp3"
"public.au-audio"
"public.enhanced-ac3-audio"
"public.ac3-audio"
"com.apple.protected-mpeg-4-audio"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment