-
Notifications
You must be signed in to change notification settings - Fork 48
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
Images count issue #19
Comments
Right. Could make a PR? |
it skips half of the selected images if i select 4 i get only 2 in callback and so on |
i forked the repo and fixed this problem but seems likely some issue in 1.60 |
Was your branch created from the latest |
Yes and also please try using it in Xcode 9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Review the following code , in the picker class , gives me 3 images if i select 6 in the block as you increasing the index twice in the loop
This is my code where i am having an issue
id callback = ^(NSArray * images){
// Prepare result
NSMutableArray * result = _mediaInfos;
if (!_returnMediaInfoMode)
{
result = [NSMutableArray arrayWithCapacity:_mediaInfos.count];
for (NSUInteger index = 0; index < _mediaInfos.count; index++)
{
[result addObject:((NBUMediaInfo *)_mediaInfos[index++]).editedImage];
}
}
The text was updated successfully, but these errors were encountered: