Created
January 6, 2015 03:22
-
-
Save iccir/9c1700d28d51f34afa75 to your computer and use it in GitHub Desktop.
iOS 8: 9:41 AM status bar overrides
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
// Enable 9:41 AM status bar override for easy promo screenshot creation. Works on both device and in simulator | |
NSInteger (*SBSSpringBoardServerPort)() = dlsym(RTLD_NEXT, "SBSSpringBoardServerPort"); | |
NSInteger (*SBSetShowsOverridesForRecording)(NSInteger, NSInteger) = dlsym(RTLD_NEXT, "SBSetShowsOverridesForRecording"); | |
SBSetShowsOverridesForRecording(SBSSpringBoardServerPort(), 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment