Global Variable

PHContentEditingInputCancelledKey

A Boolean value indicating whether the image request was canceled. (NSNumber)

Declaration

let PHContentEditingInputCancelledKey: String

Discussion

If you call the cancelContentEditingInputRequest(_:) method to cancel a request, Photos calls your result handler block with the value true for this key.