Instance Method

cancelUserAttentionRequest:

Cancels a previous user attention request.

Declaration

- (void)cancelUserAttentionRequest:(NSInteger)request;

Parameters

request

The request identifier returned by the requestUserAttention: method.

Discussion

A request is also canceled automatically by user activation of the app.

See Also

Managing User Attention Requests

- requestUserAttention:

Starts a user attention request.

NSRequestUserAttentionType

These constants specify the level of severity of a user attention request and are used by cancelUserAttentionRequest: and requestUserAttention:.

- replyToOpenOrPrint:

Handles errors that might occur when the user attempts to open or print files.

NSApplicationDelegateReply

Constants that indicate whether a copy or print operation was successful, was canceled, or failed.