从库中选择多张照片,但我不想从相册

时间:2015-06-17 10:10:03

标签: ios uiimageview uipickerview

从库中选择多张照片,但我不想从相册中选择相同的照片     任何人都可以给我这个样本代码,我已经搜索了alote但我没有得到任何

- (void)elcImagePickerController:(ELCImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
    [self dismissViewControllerAnimated:YES completion:nil];

    NSLog(@"UIImagePickerControllerReferenceURL11 = %@", [info valueForKey:UIImagePickerControllerOriginalImage]);

    for (int k=0; k<[[info valueForKey:UIImagePickerControllerOriginalImage] count]; k++)
    {
        [arr_selectedPhotos addObject:[[info valueForKey:UIImagePickerControllerOriginalImage] objectAtIndex:k]];
    }

    NSLog(@"selectedPhotos = %@", arr_selectedPhotos);
    NSLog(@"selectedPhotos123 = %@", [arr_selectedPhotos objectAtIndex:0]);

    [tbl_SmartPost reloadData];


}

0 个答案:

没有答案