How do I change my iOS applications' entitlements?
问题 I need to run the following code to turn off my iphone screen . On iOS6: void (*BKSDisplayServicesSetScreenBlanked)(BOOL blanked) = (void (*)(BOOL blanked))dlsym(RTLD_DEFAULT, \"BKSDisplayServicesSetScreenBlanked\"); and then use: BKSDisplayServicesSetScreenBlanked(1); // 1 to dim, 0 to undim It doesnt work. Somebody told me that I need com.apple.backboard.client entitlements for this to work on my iphone. I dont know how to set these entitlements. I have seen several ways to set entitlements