SRGTimeCheatCapturer 0.0.1

SRGTimeCheatCapturer 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jan 2015

Maintained by kazu0620.



  • By
  • Kazuhiro Sakamoto

SRGTimeCheatCapturer validate device time by ntp client and capture time cheaters.

Examples

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.

Setup Instructions

Install with CocoaPods by adding the following to your Podfile:

pod 'SRGTimeCheatCapturer', '~> 0.0.1'