简单直观的iOS视图:NZAlertView
jopen
11年前
NZAlertView是一个简单和直观的警告视图,类似于推送通知效果。这人类使用 UIAlertView 作为默认的方法和协议。
#import "NZAlertView.h" ... { // There are several ways to init, just look at the class header NZAlertView *alert = [[NZAlertView alloc] initWithStyle:NZAlertStyleSuccess title:@"Alert View" message:@"This is an alert example." delegate:nil]; [alert show]; // or [alert showWithCompletion:^{ NSLog(@"Alert with completion handler"); }]; }