I've got an app where I push a UIAlertController
with several custom UIAlertAction
s. Each UIAlertAction
performs unique tasks in the handler block of actionWithTitle:style:handler:
.
I have several methods that I need to verify are executed within these blocks.
How can I execute the handler
block so that I can verify that these methods are executed?
EXC_BAD_INSTRUCTION
at runtime. – Cissie