Contents

files(ofType:)

Returns an array of files of the selected type on the camera.

Declaration

func files(ofType fileUTType: String) -> [String]?

Discussion

For the fileType parameter, pass one of the following uniform type identifier strings: kUTTypeImage, kUTTypeMovie, kUTTypeAudio, or kUTTypeData.

See Also

Reading Files