accessing _cachedSystemAnimationFence requires the main thread
Closed this issue · 3 comments
yulichandra commented
I got error like Error Log.txt.
Case :
- Take Picture from Camera
- Single Picture pick
I just implement it using yms_presentAlbumPhotoViewWithDelegate
like your example
ZZBHuang commented
Thanks for your feedback! Could you tell me what did you put inside
photoPickerViewController:didFinishPickingImage:
? This link may can help
yulichandra commented
Ya, thanks i already solve it. I think because PHPhotoLibrary performChanges completionHandler
still in run in background and the picker dismiss it.
solve it :
[self performSelectorOnMainThread:@selector(didFinishPickingImage:) withObject:image waitUntilDone:YES];
-(void)didFinishPickingImage:(UIImage*)image{ [self.delegate photoPickerViewController:self didFinishPickingImage:image]; }
ZZBHuang commented
Great!