subtypes(for:)
Provides the root-level project type descriptions and descriptions of any promised subtypes with Canprovidesubtypes set to true.
Declaration
func subtypes(for projectType: PHProjectType) -> [PHProjectTypeDescription]Parameters
- projectType:
The project type whose subtypes are being requested. The value is Undefined when fetching the root level.
Return Value
An array of subtype descriptions for the queried project type.