Reputation: 3
I want to have an ipa file generated with Private API to test whether private-api identifying tool works or not. Could someone tell me how I can find such file? Thanks.
Upvotes: 0
Views: 256
Reputation: 23298
The simplest way would be to build one on your own.
Just put this code in .h or top of .m file:
@interface UIDevice()
-(float)_backlightLevel;
@end
And in the code call:
float a = [[UIDevice currentDevice] _backlightLevel];
NSLog(@"Backlight level %f", a);
Now, you are using private API.
Upvotes: 1