PHContentEditingInputRequestID
PHContentEditingInputRequestID
PHContentEditingInputRequestID Type Alias of Photos An identifier for an asset content editing session.
typealias PHContentEditingInputRequestID = IntDiscussion
To begin editing the content of an asset, call the requestContentEditingInput(with:completionHandler:)) method to retrieve a PHContentEditingInput object that provides data for editing. This method asynchronously prepares an editing input and calls your completion handler block when the editing input is ready. To abandon editing before Photos calls the completion handler, call the cancelContentEditingInputRequest(:)) method, passing the PHContentEditingInputRequestID you received when requesting an edit.