What to do when a fullcreen app crashes

Discussion in 'Mac Programming' started by Ides, Sep 27, 2013.

  1. Ides macrumors member

    Mar 27, 2012
    I'm writing an app that runs in fullscreen mode. It's still in it's beginning phases and crashes quite often. When it crashes it won't exit out of fullscreen mode and i can't quit out of the app. The app screen just freezes and stays in fullscreen mode. I can't force quit the app, can't switch between desktops, the only thing I am able to do is force shut down my computer. I would prefer not to do this everytime there is an error in my app. Any suggestions?
  2. ArtOfWarfare macrumors G3


    Nov 26, 2007
    How are you getting it to go full screen? With the button in the top right corner? Or using some low level drawing routines of some sort?
  3. Ides thread starter macrumors member

    Mar 27, 2012
    I am calling enterFullscreen:WithOptions on an nsview
  4. Liquid80 macrumors newbie

    Oct 1, 2013
    If you set up one of the corners to show the desktop, via hot corners, you might be able to select the finder from there by clicking on the desktop and then select force quit from there. I've done that when some full screen apps freeze. Not sure if it will work for you though.

Share This Page