Latest 1.6
Homepage https://github.com/CheeryLau/UUActionSheet
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

License MIT 
CocoaPods 
CocoaPods 

UUActionSheet

仿微信/新浪微博的ActionSheet,使用方式和UIActionsheet相同。

安装[CocoaPods]

  1. pod "UUActionSheet";
  2. pod install / pod update;
  3. #import <UUActionSheet.h>.

For example:

UUActionSheet *actionSheet = [[UUActionSheet alloc] initWithTitle:@"After the exit will not delete any historical data, the next login can still use this account."
                                                         delegate:self
                                                cancelButtonTitle:@"Cancel"
                                           destructiveButtonTitle:@"Logout"
                                                otherButtonTitles:@"Okay",nil];
[actionSheet showInView:self.view.window];
#pragma mark - UUActionSheetDelegate
- (void)actionSheet:(UUActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
{
    NSLog(@"buttonIndex:%ld",buttonIndex);
}

END

如有问题,欢迎给我留言,如果这个工具对你有些帮助,请给我一个star、watch。O(∩_∩)O谢谢

Latest podspec

{
    "name": "UUActionSheet",
    "version": "1.6",
    "summary": "An actionSheet used on iOS.",
    "homepage": "https://github.com/CheeryLau/UUActionSheet",
    "license": "MIT",
    "authors": {
        "Cheery Lau": "[email protected]"
    },
    "source": {
        "git": "https://github.com/CheeryLau/UUActionSheet.git",
        "tag": "1.6"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "UUActionSheet/**/*.{h,m}",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This