iPhone: Pop up a list of options


/ Published in: Objective C
Save to your folder(s)

Here's a quick snippet for popping up a list of options using the UIActionSheet in iPhone OS.

What's slightly confusing is that the index of the 'cancelButton' is 1, and 'destructiveButton' is 0, even though 'cancelButton' is listed first in the initWithTitle selector. This gets me each time!

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.