Created
November 18, 2016 17:28
-
-
Save steventroughtonsmith/62f0b14d5ef532a4be2e2529187c100d to your computer and use it in GitHub Desktop.
iOS Simulator fullscreen enabler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call ((NSWindow *)[(NSArray *)[[NSApplication sharedApplication] windows] lastObject]).collectionBehavior = 1<<7|1<<8|1<<11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use it you have to attach to emulator process, for that:
I have not tried it because I don't want to disable System Integrity Protection, but it should work if you do all the steps.