Reputation: 8100
I am looking for a way to get notified about any user initiated touch event while my app is in background running state, I want to make it clear I don't want to handle gesture events or break UIResponder chain, some form of notification that user initiated a touch somewhere on the screen?
Upvotes: 0
Views: 1235
Reputation: 254
Not allowed. If an App is in the background it is only allowed to do few certain operations:-
Must read section "App States and Multitasking" from Apple 's link below
"It will surely give you strong Foundation "
Upvotes: 1
Reputation: 45598
This isn't possible at all using the standard SDK. You would be able to record where the user is tapping in other applications and record what they are typing on the keyboard. This just isn't allowed. Only touches sent to your app can be intercepted and handled.
Upvotes: 1