Showing a UIActionSheet

Mark Szymanski picture Mark Szymanski · Nov 9, 2009 · Viewed 8.6k times · Source

I was wondering how to show a UIActionSheet from the bottom of the screen. I have tried using the showInView: method with MainView as the view to show it in but I get the MainView Undeclared error.

Answer

ennuikiller picture ennuikiller · Nov 9, 2009

You need to reference the controllers view:

[actionSheet showInView:self.viewController.view]