我正在开发一个需要将图像上传到S3的应用程序.现在我这样做:
S3PutObjectRequest *por = [[S3PutObjectRequest alloc] initWithKey:nameOfThePicture inBucket:nameOfTheBucket];
por.contentType = @"image/jpg";
por.data = imageData;
// Put the image data into the specified s3 bucket and object.
S3PutObjectResponse *putObjectResponse = [self.s3 putObject:por];
por.delegate = self;
Run Code Online (Sandbox Code Playgroud)
将图像直接上传到S3太慢了,我已经配置了CloudFront服务.现在,我想通过CloudFront将图像上传到S3中的原始存储桶.有可能吗?如果是的话,我怎么能这样做?
真的感谢,
胜利者
我想获得MKPolyline路径的米,这样我就可以告诉用户完成路径的剩余米数.
我一直在寻找可以做到的事情,但我什么都得不到.
谢谢.
最近我得到了Apple的拒绝,因为使用了私有API.我不确切知道什么是私有API,也不知道未记录的方法.有人可以解释一下什么是未记录的方法和私有API?我真的很困惑......
跟进: