UIProgressHUD 与 UIAlertView 的嵌套使用 导致的bug

[UIProgressHUD showText:@"该用户拉黑已取消" inView:showTipsInView];

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:title message:pstrMessage delegate:objAlerts cancelButtonTitle:nil otherButtonTitles:nil];

两个相互嵌套使用 会有层级关系的冲突,
在使用UIAlertView 的时候 ,在确定和取消按钮的地方 加入
[UIProgressHUD showText:@"该用户拉黑已取消" inView:showTipsInView];
那么该提示语会被当前的UIWidow 层级一起带走。

你可能感兴趣的:(UIProgressHUD 与 UIAlertView 的嵌套使用 导致的bug)