Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.

Media Type Issue #93

Open
SeasiaInhouse opened this issue Sep 24, 2018 · 0 comments
Open

Media Type Issue #93

SeasiaInhouse opened this issue Sep 24, 2018 · 0 comments

Comments

@SeasiaInhouse
Copy link

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'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant