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

License MIT 
CocoaPods 
CocoaPods 

仿微信/新浪微博的ActionSheet,使用方式和UIActionsheet相同,支持屏幕旋转。

UUActionSheet

安装[CocoaPods]

  1. pod 'UUActionSheet', '~> 1.3';
  2. pod install / pod update;
  3. #import <UUActionSheet/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);
}

使用要求

  • iOS 7.0 or later.
  • Xcode 7.0 or later.
  • OS X 10.10 or later.

许可证

MIT

Latest podspec

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

Pin It on Pinterest

Share This