将图片保存到相册

for(int i = 0;i < 8;i++){
NSString *file = [NSString stringWithFormat:@”/Users/qingyun/Desktop/素材/0%d.png”,i];
UIImage *image = [UIImage imageWithContentsOfFile:file];
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil);
}

分享到: 更多
Separator image Posted in IOS.