问题描述
iOS如何将沙盒的图片放到相册中
问题解答
回答1:UIImage *image = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@'image' ofType:@'png']];UIImageWriteToSavedPhotosAlbum(image, nil, NULL, NULL);

问题描述
iOS如何将沙盒的图片放到相册中
问题解答
回答1:UIImage *image = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@'image' ofType:@'png']];UIImageWriteToSavedPhotosAlbum(image, nil, NULL, NULL);
相关文章:1. javascript - 线上部署webpack,提示Uncaught Error: Cannot find module "—progress"2. 为什么矛那里的 <a href=" " 这地方为什么是空的呢 ??3. javascript - 怎么用jquery检查li的下级li是否存在class="active"?4. <tr valign="top"> 看不懂5. MySQL"="自动 like6. node.js mysql Cannot find module "net" 和 "tls"和"fs" 的问题7. javascript - Vue中的"development" !== ’production’8. jQuery怎么用不了9. browser-sync刷新不了内容10. javascript - canvas使用toDataUrl()出错,img设置img.crossOrigin = "*"也没用。

网公网安备:皖ICP备2020019022号-8 Copyright ¢ 2020-2025 Powered by V1.8 All Rights Reserved 技术支持:乐呵呵网
声明:本站所有资源以学习为主