cocoa touch - Macro Recording in iOS -


is possible record set of touch events on iphone , playback? have searched alot not find answer. if possible, can explain example. m not looking testing purpose. within application, instead of creating animation, want record set of events , want playback explain app flow users.

regards.

recording pretty simple. @ various "responding touch events" , "responding motion events" methods on uiresponder. create own uiview subclass (since uiview inherits uiresponder) , keep copy of events passed relevant methods.

playback bit more complicated; there's no way make uitouch or uievent objects (so can't make fake event , pass on -[uiapplication sendevent:]). but, there's nothing stopping manually parsing array of event objects , handling on own (aside being kind of ugly code).


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -