Skip to content

Instantly share code, notes, and snippets.

@chrisfsampaio
Last active December 30, 2016 01:22
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chrisfsampaio/088fb63f33327d2f397fc79a7531fcde to your computer and use it in GitHub Desktop.
Save chrisfsampaio/088fb63f33327d2f397fc79a7531fcde to your computer and use it in GitHub Desktop.
LLDB 'script' to enable full screen mode in the iOS Simulator
#!/usr/bin/env bash
codesign --remove-signature /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
lldb -n Simulator \
-o "expr ((NSWindow *)[(NSArray *)[[NSApplication sharedApplication] windows] setValue:@(1<<7|1<<8|1<<11) forKey:@\"collectionBehavior\"]);" \
-o "set set auto-confirm true" \
-o quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment