GMImagePicker icon indicating copy to clipboard operation
GMImagePicker copied to clipboard

Media Type Issue

Open SeasiaInhouse opened this issue 5 years ago • 0 comments

App is crashing when i specify mediaTypes as PHAssetMediaType.image.

My Code is:

let gmImagePicker = GMImagePickerController() gmImagePicker.delegate = self gmImagePicker.title = "" gmImagePicker.mediaTypes = [PHAssetMediaType.image]

    self.present(gmImagePicker, animated: true, completion: nil)

And the crash is:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'

SeasiaInhouse avatar Sep 24 '18 07:09 SeasiaInhouse