Skip to content

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

License

Notifications You must be signed in to change notification settings

kazu0620/SRGTimeCheatCapturer

Repository files navigation

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'

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published