One Logo Pool Ball
Photos · IOS API REFERENCE

PHCollection

class · iOS 8.0+ · SDK 27.1

class PHCollection

Members (8)

static · iOS 8.0+

fetchCollections

TypeScript
static fetchCollections(collectionList: PHCollectionList, options?: (PHFetchOptions) | null): PHFetchResult<PHCollection>
Swift declaration
class func fetchCollections(in collectionList: PHCollectionList, options: PHFetchOptions?) -> PHFetchResult<PHCollection>
static · iOS 8.0+

fetchTopLevelUserCollections

TypeScript
static fetchTopLevelUserCollections(options?: (PHFetchOptions) | null): PHFetchResult<PHCollection>
Swift declaration
class func fetchTopLevelUserCollections(with options: PHFetchOptions?) -> PHFetchResult<PHCollection>
method · iOS 8.0+

canPerform

TypeScript
canPerform(anOperation: PHCollectionEditOperation): boolean
Swift declaration
func canPerform(_ anOperation: PHCollectionEditOperation) -> Bool
init

init

TypeScript
static init(): PHCollection
Swift declaration
init()
get · iOS 8.0+

canContainAssets

TypeScript
get canContainAssets(): boolean
Swift declaration
var canContainAssets: Bool { get }
get · iOS 8.0+

canContainCollections

TypeScript
get canContainCollections(): boolean
Swift declaration
var canContainCollections: Bool { get }
get · iOS 8.0+

localizedTitle

TypeScript
get localizedTitle(): (string) | null
Swift declaration
var localizedTitle: String? { get }
get · iOS 26.0+

modificationDate

TypeScript
get modificationDate(): (globalThis.Date) | null
Swift declaration
var modificationDate: Date? { get }

Skipped declarations

No declarations were skipped in this snapshot.

All Photos types →