removeValueForAttribute(_:)
Removes the value for the named attribute if it exists.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
func removeValueForAttribute(_ name: String) async throws
Parameters
- name
The name of the attribute to remove.
Attribute values are typically removed using fremovexattr(2)
.