I have created 5 buttons in action sheet,
for example:
1. Delete (destructive button)
2. Audios
3. Vedios
4. Files
5. Cancel
now, my question is, can I move Delete button position on the 4 index.
If is this possible then please tell me how to do it.!
How to change button sequence in action sheet in iOS
1270
26-Nov-2015
Updated on 27-Nov-2015
Tarun Kumar
27-Nov-2015Yes, you can move the position index using destructiveButtonIndex to set the 3rd button as destructive button:
for example: