nmaletm / STAlertView

Wrapper of the native UIAlertView that work with blocks
MIT License
63 stars 12 forks source link

Buttons / UITextField #2

Open JulesMoorhouse opened 9 years ago

JulesMoorhouse commented 9 years ago

I was looking for a replacement for the uialertview with three buttons, ok, forgot and cancel, be nice to see a screenshot with more buttons and a uitextfield, maybe example code showing how to access the text value too.

nmaletm commented 9 years ago

You can manage the alertview as you would do with a normal UIAlertView using the STAlertview.alertview property. There is an example at the current documentation, after the text

You can make any customization to the UIAlertView, using the reference of the alertview. For example:

I will make more explicit this case, and add another example with more customizations.

Thank you for your feedback, I'll keep open this issue until I make the changes to the readme. If you want, you can modify yourself and make a pull request.

JulesMoorhouse commented 9 years ago

That will be great, tried to add a third button to otherButtonTitle which isn't otherButtonTitles, so it would't let me?