UIAlertView的一个代替:TAlertView
                 jopen
                 11年前
            
                    TAlertView是UIAlertView的一个代替。
  
Usage
To run the example project, clone the repo, and run pod install from the Example directory first.
Installation
TAlertView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TAlertView"Example
//Alert 6  TAlertView *alert = [[TAlertView alloc] initWithTitle:nil                                                    message:@"This alert show two buttons horizontally"                                                    buttons:@[@"No", @"Yes"]                                                andCallBack:^(TAlertView *alertView, NSInteger buttonIndex) {}];      alert.buttonsAlign = TAlertViewButtonsAlignHorizontal;      [alert showAsMessage];    //Alert 1  [[[TAlertView alloc] initWithTitle:@"Great!" andMessage:@"This is a basic alert"] show]; 
                    