Skip to content

wccw/PPActionSheet

Repository files navigation

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