AGImagePickerController icon indicating copy to clipboard operation
AGImagePickerController copied to clipboard

Unbalanced calls to begin/end appearance transitions for <AGIPCAssetsController: 0x1534ea20>.

Open anatoliyv opened this issue 12 years ago • 4 comments

Every time I add ImagePicker I got this message: Unbalanced calls to begin/end appearance transitions for <AGIPCAssetsController: 0x1534ea20>.

What does it mean?

I'm add picker like this:

AGImagePickerController *imagePickerController = [[AGImagePickerController alloc] initWithFailureBlock:^(NSError *error) {        
     [self dismissModalViewControllerAnimated:YES];
} andSuccessBlock:^(NSArray *info) {

    [self dismissModalViewControllerAnimated:YES];

    // Start file uploading process
    ....
}];

imagePickerController.selection = self.selectedPhotos;

[self presentModalViewController:imagePickerController animated:YES];
[imagePickerController release];

anatoliyv avatar Nov 28 '12 14:11 anatoliyv

I have the same issue

bh213 avatar Mar 04 '13 13:03 bh213

No longer an issue, I was calling presentViewController twice in some cases...

bh213 avatar Mar 16 '13 20:03 bh213

Same issue here. I use AGImagePicker on the iPad.

styrken avatar Apr 04 '13 05:04 styrken

This code fixes the issue for me:

        // Wait for the view controller to show first and hide it after that
        double delayInSeconds = 0.1;
        dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
        dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
            [self dismissViewControllerAnimated:YES completion:nil];
        });

this-username-is-taken avatar May 11 '13 15:05 this-username-is-taken