CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Jan 2015 |
Maintained by kazu0620.
SRGTimeCheatCapturer validate device time by ntp client and capture time cheaters.
Open up the AppDelegate.m file and edit applicationDidBecomeActive: to be like so:
- (void)applicationDidBecomeActive:(UIApplication *)application {
SRGTimeCheatCapturer *capturer = [SRGTimeCheatCapturer new];
[capturer checkWithOnCheatCaptured:^(){
// Here, you can show warning or impose a penalty if user cheating device time.
}];
}See the demo project for more examples.
Install with CocoaPods by adding the following to your Podfile:
pod 'SRGTimeCheatCapturer', '~> 0.0.1'