init
TypeScriptstatic init(asset: PHAsset): PHAssetChangeRequestSwift declarationconvenience init(for asset: PHAsset)class · iOS 8.0+ · SDK 27.1
class PHAssetChangeRequeststatic init(asset: PHAsset): PHAssetChangeRequestSwift declarationconvenience init(for asset: PHAsset)static creationRequestForAsset(image: _UIKit_UIImage): PHAssetChangeRequestSwift declarationclass func creationRequestForAsset(from image: UIImage) -> Selfstatic creationRequestForAssetFromImage(fileURL: string): (PHAssetChangeRequest) | nullSwift declarationclass func creationRequestForAssetFromImage(atFileURL fileURL: URL) -> Self?static creationRequestForAssetFromVideo(fileURL: string): (PHAssetChangeRequest) | nullSwift declarationclass func creationRequestForAssetFromVideo(atFileURL fileURL: URL) -> Self?static deleteAssets(assets: SDKHandle): voidSwift declarationclass func deleteAssets(_ assets: any NSFastEnumeration)addKeyword(keyword: string): voidSwift declarationfunc addKeyword(_ keyword: String)removeKeyword(keyword: string): voidSwift declarationfunc removeKeyword(_ keyword: String)revertAssetContentToOriginal(): voidSwift declarationfunc revertAssetContentToOriginal()revertAssetContent(choice: PHAsset_OriginalResourceChoice): voidSwift declarationfunc revertAssetContent(to choice: PHAsset.OriginalResourceChoice)setLivePhotoVideoPlaybackEnabled(enabled: boolean): voidSwift declarationfunc setLivePhotoVideoPlaybackEnabled(_ enabled: Bool)get caption(): (string) | nullSwift declarationvar caption: String? { get set }set caption(value: (string) | null)Swift declarationvar caption: String? { get set }get contentEditingOutput(): (PHContentEditingOutput) | nullSwift declarationvar contentEditingOutput: PHContentEditingOutput? { get set }set contentEditingOutput(value: (PHContentEditingOutput) | null)Swift declarationvar contentEditingOutput: PHContentEditingOutput? { get set }get creationDate(): (globalThis.Date) | nullSwift declarationvar creationDate: Date? { get set }set creationDate(value: (globalThis.Date) | null)Swift declarationvar creationDate: Date? { get set }get isFavorite(): booleanSwift declarationvar isFavorite: Bool { get set }set isFavorite(value: boolean)Swift declarationvar isFavorite: Bool { get set }get isHidden(): booleanSwift declarationvar isHidden: Bool { get set }set isHidden(value: boolean)Swift declarationvar isHidden: Bool { get set }get location(): (__LocationEssentials_CLLocation) | nullSwift declarationvar location: CLLocation? { get set }set location(value: (__LocationEssentials_CLLocation) | null)Swift declarationvar location: CLLocation? { get set }get placeholderForCreatedAsset(): (PHObjectPlaceholder) | nullSwift declarationvar placeholderForCreatedAsset: PHObjectPlaceholder? { get }get rating(): PHAsset_RatingSwift declarationvar rating: PHAsset.Rating { get set }set rating(value: PHAsset_Rating)Swift declarationvar rating: PHAsset.Rating { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PHAssetChangeRequest.init()
inherited init: cannot prove legal (class declares 2 custom initializers)