iOS Swift UIImagePickerController Show Only Videos Whose Duration is Below a Specific Length

238 views Asked by At

When presenting the UIImagePickerController to show mediaType kUTTypeMovie, how can I filter it so that it only shows videos that are under a specific duration?

1

There are 1 answers

0
Dheeraj D On

You can filter video only using:

videoPicker.mediaTypes = [kUTTypeMovie as String]

But filtering video under specific duration is not possible.