- 浏览: 568951 次
- 性别:
- 来自: 广州
文章分类
最新评论
-
JYY282:
[i][/i]
Ecshop与Shopex的比较 -
qq247890212:
我也遇见这问题了,真诡异。重新下载个猫换了就好了。 太浪费时间 ...
诡异:ClassNotFoundException: org.springframework.web.filter.CharacterEncoding
UIImageWriteToSavedPhotosAlbum
Adds the specified image to the user’s Camera Roll album.
void UIImageWriteToSavedPhotosAlbum (
UIImage *image,
id completionTarget,
SEL completionSelector,
void *contextInfo
);
Parameters
image
The image to write to the Camera Roll album.
completionTarget
Optionally, the object whose selector should be called after the image has been written to the Camera Roll album.
completionSelector
The method selector, of the completionTarget object, to call. This optional method should conform to the following signature:
- (void) image: (UIImage *) image
didFinishSavingWithError: (NSError *) error
contextInfo: (void *) contextInfo;
contextInfo
An optional pointer to any context-specific data that you want passed to the completion selector.
Discussion
When used with an image picker controller, you would typically call this function within your imagePickerController:didFinishPickingMediaWithInfo: delegate method implementation.
The use of the completionTarget, completionSelector, and contextInfo parameters is optional and necessary only if you want to be notified asynchronously when the function finishes writing the image to the user’s Camera Roll or Saved Photos album. If you do not want to be notified, pass nil for these parameters.
When used on an iOS device without a camera, this method adds the image to the Saved Photos album rather than to the Camera Roll album.
Availability
Available in iOS 2.0 and later.
See Also
UISaveVideoAtPathToSavedPhotosAlbum
Declared In
UIImagePickerController.h
发表评论
-
Objective-C 与 C++ 的异同
2013-04-02 12:03 1352http://www.cnblogs.com/y041039 ... -
Cocos2D-X是全球知名的开源跨平台手机游戏引擎
2013-01-22 10:05 2704http://www.oschina.net/p/cocos ... -
iOS Keyboard 键盘高度变化 自适应
2013-01-15 15:43 3214[[NSNotificationCenter default ... -
iOS使用自定义字体
2012-11-27 12:11 12071From: http://blog.csdn.net/csy1 ... -
4 款类似 Facebook/Path 切换效果的 iOS 组件
2012-11-27 12:03 2079From: http://blog.csdn.net/lia ... -
Path 2.0的UI界面设计详细介绍
2012-11-27 11:56 1422如Path的创始人Dave Morin ... -
史上最全的App Store邮箱列表
2012-11-27 11:51 1212From: http://roybaby.blog.51cto ... -
iOS从info.plist 获取项目的名称及版本号
2012-11-16 10:54 1564From: http://blog.sina.com.cn/s ... -
MapKit annotation drag and drop with callout info update
2012-10-13 10:38 2359http://hollowout.blogspot ... -
NSArray 或NSDictionary 调用writeToFile方法失败原因
2012-08-31 10:03 4418NSArray 或NSDictionary 调用writeTo ... -
如何让IOS应用从容地崩溃
2012-08-30 15:25 1568From: http://www.cocoachina.com ... -
iOS中判断设备系统版本
2012-08-29 17:17 31665在iOS开发中,经常要考虑系统的向下兼容,如果使用 ... -
iOS 汉字转拼音
2012-08-21 16:42 1418From: http://www.cnblogs.com/v2 ... -
iOS模拟器截图工具
2012-08-17 16:35 1577From: http://magicalboy.com/ios ... -
XCode下的iOS单元测试
2012-08-10 17:47 1116From: http://mobile.51cto.com/ ... -
AFNetworking
2012-08-08 10:54 4615AFNetworking on github: https:/ ... -
Wrapping Conventions
2012-08-01 15:54 775Wrapping Conventions ... -
Core Animation如何使显式动画结束时的值直接作用Layer
2012-08-01 14:51 3745(1)使用隐式动画会直接改变layer的属性值,如: ima ... -
How To Debug Memory Leaks with XCode and Instruments Tutoria
2012-07-31 16:30 1015From: http://www.raywenderlich. ... -
Using Properties in Objective-C Tutorial
2012-07-31 16:27 877From: http://www.raywenderlich. ...
相关推荐
将照片保存在手机相册 或 将相册 中的照片保存在工程中, 适合于新手
delphi xe开发,在ios下,把图片保存到相册,调用iosapi实现
Unity 保存图片到IOS相册 ,可读写Ios 相册 完整工程。 删除了Library 太大
Unity for iOS 打开相册、相机及保存图片到相册的demo
ios实现轻松的将图片保存在指定的系统相册夹或者自定义的图片相册夹中
ios demo,保存图片到相册,权限设置Privacy - Photo Library Usage Description,为Photo Library Use
简单的代码实现将图片存储到本地相册, 并能从相册获取到图片, 图片上面添加的轻拍和长按的手势
最近开发一个项目需要把图片和视频文件保存到相册当中,这个demo里面有完整的代码,但需要你把你要测试的mp4的视频文件拷到项目里面,最好把文件名改成test,这样你不需要改代码就可以成功把图片和视频转到相册里。
超级简单的办法实现长按网页内容,如果是图片则弹出对话框,用户点击确定则保存网页图片到本地相册。 如果觉得对你有帮助请给github上给个star鼓励一下。或者关注,本人将会在该仓库持续更新一些测试的Demo,...
cocos2d-3.0,c++和oc混编,用oc截屏保存到相册iOS,大概就是这样子
保存图片到自定义相册
功能描述:支持网络和本地gif、jpeg等格式图片的浏览、捏合或双击放大缩小、长按保存到本地相册、获取gif图片的循环次数和时长。详情可以到 http://www.jianshu.com/p/b5a55099f4fc 或者 Github : ...
主要为大家详细介绍了iOS将照片保存到相册的方法,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
unity 保存相册到手机本地(android和Ios)