how to make the window mode exit full screen mode?
I know pressing “esc” to exit,I want to know,which method has been called when press “esc”?
any ideas?
Thanks,
Blues
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
toggleFullScreen:will be called. Toggle in apple’s sense means that it will switch in or out depending on the current state. So if the window was in full screen, callingtoggleFullScreen:will take the window out of full screen mode. Quoting the docs: