I've got a UIButton
subclass, which does override hitTest
method. I need to test if tapping at specific points does what I require. I intended to make this implementation inside the unit tests.
However like it's not a problem to make a simulation of general button click, I have no idea how to simulate this click in specific coordinates. Any help/hint please?