Instance Method

windowDidFailToExitFullScreen:

Called if the window failed to exit full-screen mode.

Declaration

- (void)windowDidFailToExitFullScreen:(NSWindow *)window;

Parameters

window

The window that failed to exit to full-screen mode.

Discussion

In some cases, the transition to exit full-screen mode can fail, due to being in the midst of handling some other animation or user gesture. This method indicates that there was an error, and you should clean up any work you may have done to prepare to exit full-screen mode.

This message is sent whether or not the delegate indicated a custom animation by returning non-nil from customWindowsToExitFullScreenForWindow:.

See Also

Custom Full-Screen Presentation Animations

- customWindowsToEnterFullScreenForWindow:

Called when the window is about to enter full-screen mode.

- customWindowsToEnterFullScreenForWindow:onScreen:

Called when the window is about to enter full-screen mode.

- window:startCustomAnimationToEnterFullScreenWithDuration:

This method is called to start the window animation into full-screen mode, including transitioning to a new space.

- window:startCustomAnimationToEnterFullScreenOnScreen:withDuration:

This method is called to start the window animation into full-screen mode, including transitioning to a new space.

- windowDidFailToEnterFullScreen:

Called if the window failed to enter full-screen mode.

- customWindowsToExitFullScreenForWindow:

Called when the window is about to exit full-screen mode.

- window:startCustomAnimationToExitFullScreenWithDuration:

This method is called to start the window animation out of full-screen mode, including transitioning back to the desktop space.