I have an Action Sheet popping up and I want to pass a certain argument to a button processing method.
I have a table and I want to pass to a button processing method row number that was selected in a table.
How can I achieve this?
You would have to set this in your delegate ahead of time. You can then use this value when your delegate receives the button press notification.
If it is an integer argument, put it as the tag
property of the action sheet. Otherwise, you can subclass the action sheet and put variables there, or use associative references.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With