Ios 从S3控制台查看ACL

Ios 从S3控制台查看ACL,ios,amazon-web-services,amazon-s3,acl,access-control,Ios,Amazon Web Services,Amazon S3,Acl,Access Control,我正在编写一个iOS应用程序,通过S3上传图像。我目前正在通过传输管理器使用固定ACL设置图像上传的ACL,如下面的代码所示 //do the uploading using the AWS Transfer Manager so we can set the ACL _uploadRequest = [AWSS3TransferManagerUploadRequest new]; _uploadRequest.bucket = @"miltest"; _uploadRequest.ACL =

我正在编写一个iOS应用程序,通过S3上传图像。我目前正在通过传输管理器使用固定ACL设置图像上传的ACL,如下面的代码所示

//do the uploading using the AWS Transfer Manager so we can set the ACL
_uploadRequest = [AWSS3TransferManagerUploadRequest new];
_uploadRequest.bucket = @"miltest";
_uploadRequest.ACL = AWSS3ObjectCannedACLPrivate;
//key = the name of what the image is going to be called
_uploadRequest.key = fileName;
_uploadRequest.contentType = @"image.png";
_uploadRequest.body = url;
图像上载良好,但是当我查看对象的属性时,我没有看到此页面中指定的设置ACL:

我只能看到桶所有者的政策。你知道为什么没有设置UploadRequestACL吗


我还注意到,新的传输实用程序似乎不允许应用程序在上传对象时设置ACL。是否已删除对ACL的支持?

听起来好像正在按预期工作。您应该期望的是拥有完全访问权限且没有其他附加受让人的帐户所有者


另外,使用Amazon S3传输实用程序,您可以在
AWSS3TransferUtilityExpression
上使用
-setValue:forRequestParameter:
设置ACL。谢谢您的回复。没有意识到当它被设置为私有时,它不会显示任何内容。还感谢您对设置S3传输实用程序ACL的帮助。