My objective is to detect any touch event inside My Application on any view… (i.e Inside my application any touch event in anywhere should be detected…)
I have tried it by subclassing my appDelegate Class with UIApplication but it is giving me error
how to detect idle user in iphone-sdk
how to resolve that error Or implement it in any other way…
Please Help
Thanks
OK, I’ve answered that linked question. However you may want to consider a different approach, which is using
class_replaceMethod()to “swizzle” theUIViewtouch methods with your own implementation.