add(_:)
Adds an existing asset to the receiver.
Declaration
func add(_ asset: ALAsset!) -> BoolParameters
- asset:
The asset to add to the receiver.
Return Value
Discussion
The method may fail (return false) if the group is not editable, or if the asset could not be added to the group.
You should check the isEditable property of the group to see if it is possible to add an asset to the group.