ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
[library addAssetsGroupAlbumWithName:@"test" resultBlock:^(ALAssetsGroup *group) {
//创建相簿成功
NSLog(@"创建成功");
} failureBlock:^(NSError *error) {
//失败
}];
ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
[library addAssetsGroupAlbumWithName:@"test" resultBlock:^(ALAssetsGroup *group) {
//创建相簿成功
NSLog(@"创建成功");
} failureBlock:^(NSError *error) {
//失败
}];