MultiStyleAlert 0.1.5

MultiStyleAlert 0.1.5

Maintained by lianleven.



  • By
  • lianleven

MultiStyleAlert

Version License Platform

Features

  • 改变 UIAlertController title and message 的字体和颜色
  • 改变 UIAlertAction title的颜色.
  • 简便的弹出。

Installation

只需将以下行添加到您的Podfile

pod 'MultiStyleAlert'

ScreenShot

Usage

在使用的文件中导入头文件

#import "MultiStyleAlert.h"
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Change title & message" message:@"change title & message's color and font " preferredStyle:UIAlertControllerStyleAlert];
[alert addActionWithTitle:@"Cancel" style:UIAlertActionStyleCancel handler:nil];
[alert addActionWithTitle:@"Destructive" style:UIAlertActionStyleDestructive handler:nil];
[alert show];

License

MultiStyleAlert is available under the MIT license. See the LICENSE file for more info.