objective c - How to listen action on iOS generated action sheet -
in application there uitextview
containing email address. when touch , hold on email address, action sheet pops following buttons on it:
- "new message"
- "add contact"
- etc.
how perform custom action on "new message" button click?
you have set viewcontroller actionsheets delegate , implement
-actionsheet:clickedbuttonatindex:
then perform action need.
Comments
Post a Comment