Error: unrecognized selector sent to instance 0x1232071d0

52 views Asked by At

I'm doing 2nd challenge of Project 13 of 100 Days of Swift. The task is to: Make the Change Filter button change its title to show the name of the currently selected filter. So, I added "action" of type UIAlertAction as the parameter label of the function, to have an access to the title property. However, I'm receiving unrecognized selector sent to instance 0x1232071d0 error. I know this error is related somehow to Objective-C, unfortunately I'm not able yet with my programming skills to move around breakpoints, so it's problematic. I will appreciate any kind of help.

enter image description here

I've tried to solve this issue (of getting access to the title's property of UIAlertAction) with switch statements, for in loop but unsuccessfully.

0

There are 0 answers