iOS经典代码问题

PPAlertViewController *alert = [[PPAlertViewController alloc] init];
[alert setImageName:@"pay_success"];
[alert setText:@"当前设备已开通会员"];
[alert setConfirmButtonTitle:@"好的"];
[alert setConfirmButtonBlock:^{
//[self close];
[alert close];
}];
[alert show];