Latest 1.0.0
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit

At iOS 8.0 later, we use UIAlertController, it’s not friendly, so we replace it with ACAlertController.



  • iOS 7.0 or later
  • Xcode 7.0 or later


How to use

  • Use CocoaPods:
    • pod 'ACAlertController'
  • Manual import:
    • Drag All files in the ACAlertController folder to project
    • Import the main file:#import "ACAlertController.h"

Details (See the example program ACAlertControllerExample for details)

ACAlertController *action2 = [[ACAlertController alloc] initWithActionSheetTitles:self.titles cancelTitle:self.cancelTitle];

[action2 clickActionButton:^(NSInteger index) {
    NSLog(@"selected item = %ld", (long)index);

[action2 show];


  • cancelButtonTextColor

  • cancelButtonTextFont

  • actionButtonsTextColor

  • actionButtonsTextFont

  • set action button text color with index

    - (void)configureActionButtonTextColor: (UIColor *)color index: (NSInteger)index;

  • set action button text font with index.

    - (void)configureActionButtonTextFont:(UIFont *)font index:(NSInteger)index;


  • If you have any questions during the process or want more interfaces to customize,you can issues me
  • If you feel slightly discomfort in use, please contact me QQ:331864805
  • If you support me, please giving me star


All source code is licensed under the MIT License.

Latest podspec

    "name": "ACAlertController",
    "version": "1.0.0",
    "summary": "At iOS 8.0 later, we use UIAlertController, it's not friendly, so we  replace it with ACAlertController.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "ArthurCao": "[email protected]"
    "platforms": {
        "ios": "7.0"
    "source": {
        "git": "",
        "tag": "1.0.0"
    "source_files": "ACAlertController/**/*.{h,m}",
    "frameworks": "UIKit",
    "requires_arc": true

Pin It on Pinterest

Share This