|
|
@@ -25,9 +25,13 @@ static UASAlertView *alert = nil;
|
|
|
|
|
|
alert = [[UASAlertView alloc]initWithFrame:[UIScreen mainScreen].bounds];
|
|
|
|
|
|
+ alert.windowLevel = UIWindowLevelAlert;
|
|
|
|
|
|
alert.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.2f];
|
|
|
|
|
|
+ UIViewController *viewC = [UIViewController new];
|
|
|
+
|
|
|
+ alert.rootViewController = viewC;
|
|
|
|
|
|
[alert makeKeyAndVisible];
|
|
|
|