YeraActionSheet
is an easy actionSheet something like weChat to use !
One bottom title | Two bottom titles | Destructive titles | More than two bottom titles |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
[YeraActionSheet showWithTitle:@"YeraActionSheet Supporting bellow Styles" cancelButtonTitle:@"cancel" destructiveButtonTitle:nil otherButtonTitles:@[@"title 1st"] selectedBlock:^(NSInteger index) {
NSLog(@"------> index: %ld", index);
}];
[YeraActionSheet showWithTitle:@"YeraActionSheet Supporting bellow Styles" cancelButtonTitle:@"cancel" destructiveButtonTitle:nil otherButtonTitles:@[@"title 1st", @"title 2nd"] selectedBlock:^(NSInteger index) {
NSLog(@"------> index: %ld", index);
}];
[YeraActionSheet showWithTitle:@"YeraActionSheet Supporting bellow Styles" cancelButtonTitle:@"cancel" destructiveButtonTitle:@"destructive titles" otherButtonTitles:@[@"title 1st", @"title 2nd"] selectedBlock:^(NSInteger index) {
NSLog(@"------> index: %ld", index);
}];
[YeraActionSheet showWithTitle:@"YeraActionSheet Supporting bellow Styles" cancelButtonTitle:@"cancel" destructiveButtonTitle:nil otherButtonTitles:@[@"title 1st", @"title 2nd", @"title 3th"] selectedBlock:^(NSInteger index) {
NSLog(@"------> index: %ld", index);
}];