deleteObject (method)
Deletes an object.
Syntax
- (void)deleteObject:(NSString*)objectName;
public func deleteObject(_ objectName: String) throws -> Void
Remarks
This method deletes the object specified by ObjectName in the bucket currently selected by Bucket.
If the VersionId property is non-empty, this method deletes the specified version of the object instead. Note that deleting the latest version of an object will not automatically "restore" the previous version.