domesticcatsoftware / DCIntrospect

Small library of visual debugging tools for iOS.
domesticcat.com.au/projects/introspect
MIT License
2.18k stars 267 forks source link

inputTextView captures all shake events #40

Closed kevboh closed 8 years ago

kevboh commented 12 years ago

Shake events don't propagate past the inputTextView to the rest of the application. To reproduce, implement a simple project with shake to undo support (like https://github.com/dcgrigsby/TallyTrucks), add DCIntrospect, then run and try to shake-to-undo in the simulator (Hardware -> Shake Gesture or ^⌘Z). Undo will not prompt.

domesticcatsoftware commented 12 years ago

Can’t really think of a workaround to this right now, I’d suggest using a gesture recogniser to invoke it rather than the keyboard, then turn off key bindings so the text field doesn't interfere with the responder chain.