We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey OceanLabs,
great work, really much appreciated this. I am using this in Swift2.1 though.
Can you quickly explain to me how to allow the user to just pick 1 Image each? I'll get an error using the Should function.
The text was updated successfully, but these errors were encountered:
found an answer myself: func facebookImagePicker(imagePicker: OLFacebookImagePickerController!, shouldSelectImage image: OLFacebookImage!) -> Bool { if imagePicker.selected == nil { return true; } else if imagePicker.selected.count == 0 { return true; } else { return false; } }
func facebookImagePicker(imagePicker: OLFacebookImagePickerController!, shouldSelectImage image: OLFacebookImage!) -> Bool { if imagePicker.selected == nil { return true; } else if imagePicker.selected.count == 0 { return true; } else { return false; } }
Sorry, something went wrong.
@szlangini, you can also dismiss the picker after selecting the first image.
- (void)facebookImagePicker:(OLFacebookImagePickerController *)imagePicker didSelectImage:(OLFacebookImage *)facebookImage { [self dismissViewControllerAnimated:YES completion:^{ // process facebookImage }]; }
No branches or pull requests
Hey OceanLabs,
great work, really much appreciated this.
I am using this in Swift2.1 though.
Can you quickly explain to me how to allow the user to just pick 1 Image each?
I'll get an error using the Should function.
The text was updated successfully, but these errors were encountered: