mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-22 16:31:00 +00:00
Add support for .mov in the composer
This commit is contained in:
parent
17a0e08c64
commit
f96ec217ae
1 changed files with 3 additions and 2 deletions
|
@ -17,14 +17,15 @@ enum StatusEditorUTTypeSupported: String, CaseIterable {
|
||||||
case movie = "public.movie"
|
case movie = "public.movie"
|
||||||
case mp4 = "public.mpeg-4"
|
case mp4 = "public.mpeg-4"
|
||||||
case gif = "public.gif"
|
case gif = "public.gif"
|
||||||
|
case quickTimeMovie = "com.apple.quicktime-movie"
|
||||||
|
|
||||||
static func types() -> [UTType] {
|
static func types() -> [UTType] {
|
||||||
[.url, .text, .plainText, .image, .jpeg, .png, .video, .mpeg4Movie, .gif, .movie]
|
[.url, .text, .plainText, .image, .jpeg, .png, .video, .mpeg4Movie, .gif, .movie, .quickTimeMovie]
|
||||||
}
|
}
|
||||||
|
|
||||||
var isVideo: Bool {
|
var isVideo: Bool {
|
||||||
switch self {
|
switch self {
|
||||||
case .video, .movie, .mp4, .gif:
|
case .video, .movie, .mp4, .gif, .quickTimeMovie:
|
||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in a new issue