Skip to content
LeveyPopListView is a alternative of UIActionSheet : )
Find file
New pull request
Pull request Compare This branch is 1 commit ahead, 8 commits behind levey:master.
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Differences from the original version

Levey did an amazing work, but I needed the ability to show this controller in a modal behavior, so now there's an option isModal that is set to YES by default. Clicking anywhere outside the tableview does nothing, only selecting a row will do.

What's it?

When your app have so many options to choose, LeveyPopListView is an alternative of UIActionSheet, hope it can help someone :)

How to

Create and show the View

LeveyPopListView *lplv = [[LeveyPopListView alloc] initWithTitle:@"Share Photo to..." options:_options];
lplv.delegate = self;
[lplv showInView:self.window animated:YES];
[lplv release];

Get the delegate methods

#pragma mark - LeveyPopListView delegates
- (void)leveyPopListView:(LeveyPopListView *)popListView didSelectedIndex:(NSInteger)anIndex;
- (void)leveyPopListViewDidCancel;

Screenshot ⤵


Something went wrong with that request. Please try again.