Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shouldSelect & didFinishPickingAssets did not return PHAsset #243

Open
Jottae opened this issue Nov 30, 2016 · 0 comments
Open

shouldSelect & didFinishPickingAssets did not return PHAsset #243

Jottae opened this issue Nov 30, 2016 · 0 comments

Comments

@Jottae
Copy link

Jottae commented Nov 30, 2016

As a continuing to issue #155 , Just updated to the latest CTAssetsPickerController (3.3.1).
I have this:
func assetsPickerController(_ picker: CTAssetsPickerController!, shouldSelect asset: PHAsset!) -> Bool { print("shouldSelect (asset.description)") return true }

And i get this : Optional(<__NSArrayM 0x15161d920>( ALAsset - Type:Photo, URLs:assets-library://asset/asset.JPG?id=B9FC0379-4CFC-41A5-AF2C-D37360A9A7C1&ext=JPG ) )

On didFinishPickingAssets i get the Array of ALAsset.
And this is after i have updated through pods.
In my Bridging-Header.h file i have
#import "CTAssetsPickerController/CTAssetsPickerController.h"
I am running on Xcode 8.1 deployment target 8
So why i am not getting a PHAsset objects?

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

No branches or pull requests

1 participant