AZActionSheet is an iOS 7 action sheet which uses UIKit Dynamics to create a bouncy effect when the action sheet is displayed.
Usage
#import "ViewController.h"
@interface ViewController ()<AZActionSheetDelegate>
@end
@implementation ViewController
- (void)viewDidLoad
{
[super viewDidLoad];
[self showAZActionSheet];
}
-(void) showAZActionSheet
{
[AZActionSheet showActionSheetWithTitle:@"Actions" controller:self cancelButtonTitle:@"Cancel" otherButtonTitles:@[@"Water",@"Fertilize",@"Treat"]];
}
-(void) azActionSheetDidDismissWithButtonIndex:(NSInteger)buttonIndex
{
NSLog(@"Selected Index: %d",buttonIndex);
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
}
-(IBAction) show:(id) sender
{
[self showAZActionSheet];
}
@end
Screenshot
Video