alexanderjarvis / PXAlertView

A drop-in replacement for UIAlertView that is more customisable and skinnable
MIT License
592 stars 95 forks source link

can you post an example of using contentView to show? #31

Closed sunguide closed 10 years ago

sunguide commented 10 years ago
      UIView *uv=[[UIView alloc]initWithFrame:CGRectMake(100, 100, 500, 500)];
       [uv setBackgroundColor:[UIColor blueColor]];
        [PXAlertView showAlertWithTitle:@"系统提示"
                                message:@"登录失败"
                            cancelTitle:@"确定"
                            contentView:uv
                             completion:^(BOOL cancelled, NSInteger buttonIndex) {}];

where is wrong?

alexanderjarvis commented 10 years ago

There is an example contentView in the demo project.