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

License MIT 
CocoaPods 
CocoaPods 

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

Usage

UUActionSheet

CocoaPods

  1. pod 'UUActionSheet', '~> 1.0';
  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);
}

Requirements

This library requires iOS 7.0+ and Xcode 7.0+.

License

UUActionSheet is provided under the MIT license. See LICENSE file for details.

Latest podspec

{
    "name": "UUActionSheet",
    "version": "1.1",
    "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.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "UUActionSheet/**/*.{h,m}",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This