Implemented to attempt a recovery from an error noted in a document-modal sheet.
- iOS 2.0+
- macOS 10.4+
- tvOS 9.0+
- watchOS 2.0+
NSErrorobject that describes the error, including error recovery options.
The index of the user selected recovery option in
error’s localized recovery array.
An object that is the modal delegate.
A selector identifying the method implemented by the modal delegate.
Arbitrary data associated with the attempt at error recovery, to be passed to
Invoked when an error alert is presented to the user in a document-modal sheet, and the user has selected an error recovery option specified by
error. After recovery is attempted, your implementation should send
delegate the message specified in
did, passing the provided
did should have the following signature:
YES if the error recovery attempt was successful; otherwise it is