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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -