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

Selected not updating picker UI #31

Open
rc1911 opened this issue Jun 8, 2016 · 1 comment
Open

Selected not updating picker UI #31

rc1911 opened this issue Jun 8, 2016 · 1 comment

Comments

@rc1911
Copy link

rc1911 commented Jun 8, 2016

I'm writing an app that allows the user to select one Facebook image at a time using the picker. After each selection I want the selected image to reset to nil and the picker UI to update to reflect this. I am able to reset the selected images array, but the UI won't update, it continues to show the previously selected images. Has anyone else experienced this issue? Any solutions?

@vsiniak
Copy link

vsiniak commented Jul 12, 2016

@rc1911, I have the same logic in the app (allowing to pick a single image). So, I simply dismiss the picker on selecting the first image.

- (void)facebookImagePicker:(OLFacebookImagePickerController *)imagePicker didSelectImage:(OLFacebookImage *)facebookImage {
    [self dismissViewControllerAnimated:YES completion:^{
        // process facebookImage
    }];
}

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

2 participants