摘要: 最近 需要搞一个阿里云的文件上传 手机端主要做了图片上传 pod安装:pod 'AliyunOSSiOS', '~> 2.5.2' 主要就是需要四个参数:accessKey secretKey endpoint bucket 这四个参数都是在网页生成的 另外在 页面 创建accessKey secr 阅读全文
posted @ 2016-09-22 16:08 iWillW 阅读(1985) 评论(1) 推荐(0)
摘要: + (NSData *)resetSizeOfImageData:(UIImage *)source_image maxSize:(NSInteger)maxSize { //先调整分辨率 CGSize newSize = CGSizeMake(source_image.size.width, source_image.size.height); CGFloat... 阅读全文
posted @ 2016-09-22 15:31 iWillW 阅读(262) 评论(0) 推荐(0)