Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 535 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 535 Bytes

PPActionSheet is a simple custom style according to UIActionSheet. It contains only one class.

Usage

    PPActionSheet *ppActionSheet = [[PPActionSheet alloc] initWithTitles:@[@"拍照", @"从手机相册选择", @"保存到相册", @"取消"] withSelectIndex:^(NSInteger index) {
        NSLog(@"index:%ld",(long)index);
    }];
    [ppActionSheet show];

Effect

PPActionSheet