/SRGTimeCheatCapturer

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

Primary LanguageObjective-CMIT LicenseMIT

SRGTimeCheatCapturer

Version License Platform

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'