UIView * view = [[UIView alloc] init];
view.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.5];
view.frame = [UIScreen mainScreen].bounds;
[[UIApplication sharedApplication].keyWindow addSubview:view];
UIView * view = [[UIView alloc] init];
view.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.5];
view.frame = [UIScreen mainScreen].bounds;
[[UIApplication sharedApplication].keyWindow addSubview:view];
本文标题:屏幕半透明遮挡效果
本文链接:https://www.haomeiwen.com/subject/virpdttx.html
网友评论