您的位置:首页 > 其它

主动引起一个崩溃

2014-01-17 13:17 351 查看
1

- (id)initWithView:(UIView *)view {
// Let's check if the view is nil (this is a common error when using the windw initializer above)
view = nil;
if (!view) {
//主动引起一个崩溃~~~~
[NSException raise:@"MBProgressHUDViewIsNillException"
format:@"The view used in the MBProgressHUD initializer is nil."];
}
return [self initWithFrame:view.bounds];
}


1

1

1

1

1

1

1

1

1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: