UIWindow *windows(){
UIWindow *window =[[UIWindow alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight)];
window.windowLevel=UIWindowLevelAlert;
window.hidden=YES;
return window;
}
注意window 不用的需要 nil 处理掉
UIWindow *windows(){
UIWindow *window =[[UIWindow alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight)];
window.windowLevel=UIWindowLevelAlert;
window.hidden=YES;
return window;
}
注意window 不用的需要 nil 处理掉