SGMAlbumViewController* viewVC = [[SGMAlbumViewController alloc] init];
viewVC.assetsLibrary =assetLibrary;
viewVC.limitNum = 3;//限制选择张数,不设置即不限制
[viewVC doSelectedBlock:^(NSMutableArray *assetDicArray) { //包含 {@"asset":ALAsset,@"assetIndex":0,@"select":@YES}
[selectedPhotoArray addObjectsFromArray:assetDicArray];
[mainTable reloadData];
}];
UINavigationController* nav = [[UINavigationController alloc]initWithRootViewController:viewVC];
[self presentViewController:nav animated:YES completion:nil];
-
Notifications
You must be signed in to change notification settings - Fork 2
ImagePicker 添加IOS9适配
License
denty/ImagePicker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ImagePicker 添加IOS9适配
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published