Skip to content

Instantly share code, notes, and snippets.

@michaelvillar
Created April 2, 2015 00:56
Show Gist options
  • Save michaelvillar/660087f973405856e6bd to your computer and use it in GitHub Desktop.
Save michaelvillar/660087f973405856e6bd to your computer and use it in GitHub Desktop.
9:41 AM forever
#include <dlfcn.h>
void OverrideForRecording() {
NSInteger (*SBSSpringBoardServerPort)() = dlsym(RTLD_NEXT, "SBSSpringBoardServerPort");
NSInteger (*SBSetShowsOverridesForRecording)(NSInteger, NSInteger) = dlsym(RTLD_NEXT, "SBSetShowsOverridesForRecording");
SBSetShowsOverridesForRecording(SBSSpringBoardServerPort(), 1);
}
@michaelvillar
Copy link
Author

@web20opensource
Copy link

Hi Michael,

Which model are you using ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment