1 Reply
      Latest reply on Jul 12, 2019 2:22 PM by Polyphonic
      SyamalaDutt Level 1 Level 1 (0 points)

        In mac osx when user logouts from it, I want to do certain action to make it graceful. I added my code in

         

          func applicationWillTerminate(_ aNotification: Notification) {

              // do some housekeeping

          

            }

        But  my code is not completely executing, I want to block logout until my operation is complete.