How can an app cancel logging out, restarting, or shutting down?

后端 未结 0 488
抹茶落季
抹茶落季 2020-12-15 02:34

I\'m working on a macOS Cocoa app that needs to fully cancel a command to log out, restart, or shut down when there are unsaved changes to its data.

I can get halfway

相关标签:
回答
  • 消灭零回复
提交回复
热议问题