Search code examples
iphoneiosgesturetaps

Tap count when application is in background


Is it possible to count the number of Taps when an application is in background mode?


Solution

  • No this is not possible because taps are handled by the UIResponder class. It is the superclass of UIApplication, UIView and its subclasses (which include UIWindow), so there is no way to "globally" count the taps - you can do it only for your app, when it's active..