Question

I'm developing Cydia tweaks using Theos. I need to use some functions in the framework GraphicsServices.

I've tried some simple function using GSEvent. ex:

void GSEventVibrateForDuration(float secs);

void GSEventLockDevice();   

But it all doesn't work. The device doesn't vibrate or lock. I'm using iPhone 5, iOS 7.0.4. Then I found iOS 7 private frameworks on GitHub: https://github.com/EthanArbuckle/IOS-7-Headers/tree/master/PrivateFrameworks/GraphicsServices.framework

Inside GraphicsServices is empty. So I'm wondering where this framework is? Sorry for my bad English, thank you!

Was it helpful?

Solution

Most of these headers in the internet are generated by class-dump, which only dumps Objective-C classes.

Purely C API's (like GSEventLockDevice) won't be dumped. You can use disassembler to look at them.

Some private API become protected by entitlements recently. This will produce exactly described behavior (do nothing when called).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top