In XCTest I need to simulate tapping on a UIImageView. For UIButton I use sendActionsForControlEvents
method:
sendActionsForControlEvents(UIControlEvents.TouchUpInside)
But it looks like UIImageView does not have this method. Is there a way to simulate tapping on UIImageView in XCTest?
Aucun commentaire:
Enregistrer un commentaire