In my iPhone app, I have an actionsheet which has 4 buttons.
Now to perform actions on click of these buttons, I have implemented ActionSheet Delegate.
The action sheet delegate method does not get called on click of the buttons. The same code works when integrated to another project.
I have declared all the method names properly.
Below is the screenshot which shows the delegate method
What could be wrong?
Make sure you have set your UIActionSheet delegate to self:
actionSheet.delegate = self;
and also make sure you're implementing <UIActionSheetDelegate>
in the header file.