文章来源:淘论文网   发布者: 毕业设计   浏览量: 26



还可以点击去查询以下关键词:
[相册]    [添加]    [图片]    [封装]    [从相册添加图片封装]   

项目介绍:

1.设置调用相册和相机:右键Info.plist, 选择Open as--source code, 插入
<key>NSCameraUsageDescription</key>
    <string>cameraDesciption</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>photoLibraryDesciption</string>
2.使用
AddPhotoView *pv = [[AddPhotoView alloc] init];
    pv.frame = CGRectMake(0, 100, self.view.frame.size.width, 0);
    //换行时向上延伸
    pv.addLineUP = YES;
    pv.backgroundColor = [UIColor grayColor];
    [pv getPhotoWithController:self andDelegate:self];
    [self.view addSubview:pv];


AddPhotoView 2.zip (85.13 KB, 下载次数: 521)

2016-12-25 15:51 上传

点击文件名下载附件
封装的添加图片类, 调用相机也一并处理了, 不用调用UIAlertController

论文开题报告

这里还有:


还可以点击去查询:
[相册]    [添加]    [图片]    [封装]    [从相册添加图片封装]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8083.docx
  • 上一篇:JHChart 1.1.0 iOS图毕业设计表工具库中文ReadMe
  • 下一篇:轻量JSON对象转换库JSONCore