add GraphicsServices private framework into IOS
问题 actually I need to lock my iPhone programmatically, I have searched in the internet, also got some ideas, that is, using GraphicsServices.framework and GSEventLockDevices() method.. here is the thing: how can I add a private framework to my project? I knew it's jailbreaking, but no problem. Could anyone help me to add a private framework to Xcode and lock the device programmatically? 回答1: If you missed to import certain framework means, you may get like this kind of error.. When I met like