Has anybody implemented a feature where if the user has not touched the screen for a certain time period, you take a certain action? I\'m trying to figure out the best way t
Actually the subclassing idea works great. Just don't make your delegate the UIApplication
subclass. Create another file that inherits from UIApplication
(e.g. myApp). In IB set the class of the fileOwner
object to myApp
and in myApp.m implement the sendEvent
method as above. In main.m do:
int retVal = UIApplicationMain(argc,argv,@"myApp.m",@"myApp.m")
et voilà!