更新时间:2022-09-09 GMT+08:00
删除对象
以下代码展示如何删除指定的对象:
OBSDeleteObjectRequest *request = [[OBSDeleteObjectRequest alloc] initWithBucketName:@"bucketname" objectKey:@"objectname"]; [client deleteObject:request completionHandler:^(OBSDeleteObjectResponse *response, NSError *error) { NSLog(@"%@",response); }];
父主题: 快速入门