The displayed name of the asset collection.
SDKs
- iOS 8+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 10+
Framework
- Photos
Declaration
var title: String { get set }
Discussion
Set this property to change the asset collection’s title.
The displayed name of the asset collection.
SDKs
Framework
var title: String { get set }
Set this property to change the asset collection’s title.
init?(for: PHAsset Collection)
Creates a request for modifying the specified asset collection.
init?(for: PHAsset Collection, assets: PHFetch Result<PHAsset>)
Creates a request for modifying the specified asset collection, with a fetch result for tracking changes.
func add Assets(NSFast Enumeration)
Add the specified assets to the asset collection.
func insert Assets(NSFast Enumeration, at: Index Set)
Inserts the specified assets into the collection at the specified indexes.
func remove Assets(NSFast Enumeration)
Removes the specified assets from the asset collection.
func remove Assets(at: Index Set)
Removes the assets at the specified indexes from the asset collection.
func replace Assets(at: Index Set, with Assets: NSFast Enumeration)
Replaces the assets at the specified indexes in the asset collection with the specified assets.
func move Assets(at: Index Set, to: Int)
Moves the assets at the specified indexes in the asset collection to a new index.