UIAlertView *myAlert = [[UIAlertView alloc]initWithTitle:@"显示时间" message:tmpStr delegate:self cancelButtonTitle:@"取消" otherButtonTitles:nil];
//AlertView弹出
[myAlert show];
UIAlertView *myAlert = [[UIAlertView alloc]initWithTitle:@"显示时间" message:tmpStr delegate:self cancelButtonTitle:@"取消" otherButtonTitles:nil];
//AlertView弹出
[myAlert show];
转载于:https://www.cnblogs.com/zzili/archive/2012/12/06/6663282.html