Dynamically adding UIActionSheet buttons

Today’s useful Objective C resource, dynamic buttons on a UIActionSheet.  Awesome.

The UIActionSheet is a very useful class, and I use it frequently in my apps, but its initialisation method doesn’t allow you to add buttons from an array. Instead you apparently typically just add them hardcoded as an initialiser parameter – and almost all code examples on the web seem to use this method.

via Dynamically adding UIActionSheet buttons « Ajnaware’s Weblog.

Retweet
This entry was posted in Apple, Programming. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>