jailbreak - Programmatically put an iOS device to sleep -
i wondering if there way programmatically put idevice sleep, jailbreak tweak. test if iphone on too. there way (public or private api) this? simulating press cool. know activator cydia tweak can this, wondering how.
all methods private springboardservices.framework
:
void* sbsspringboardserverport(); void sblockdevice(void*);
to lock device use this:
sblockdevice(sbsspringboardserverport());
Comments
Post a Comment