objective c - How to dismiss current OSX window controller? -
i tried dismiss current osx window controller did not work:
[self.view.window close];
and tried , did not work:
nsarray *orderedwindows = [nsapp orderedwindows]; nswindow *frontwindow = orderedwindows[0]; [frontwindow close];
and tried , did not work:
[self.view.window orderout:nil];
, 1 did not work:
[self.view.window orderout:self];
how dismiss current osx window controller?
Comments
Post a Comment