IPhone system clock and sleep clock

Is there a way to save the number of ticks in an iPhone app that:

  • regardless of system clock
  • does not affect device sleep mode (unlike CACurrentMediaTime (), UpTime (), etc.).
+4
source share
1 answer

Try this class, it will get access to the Mach kernel time on the device (like the number of samples since the system started ) https://github.com/maddox/cocoaheads_gltouches/blob/master/Classes/MachTimer.m

0
source

All Articles