Skip to content

vitasapple/JQShelterView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JQShelterView

shelterView,遮罩 就是一个遮罩的背景view,提供了暗色,明色,透明,暗模糊,明模糊,延时删除的功能

 UIButton * btn = [[UIButton alloc]initWithFrame:CGRectMake(100, 100, 101, 100)];
    btn.backgroundColor = [UIColor redColor];
    [[JQShelterView shareView]addSubview:btn];
    [JQShelterView isDark:YES];//这行不写默认透明

3

UIButton * btn = [[UIButton alloc]initWithFrame:CGRectMake(100, 100, 101, 100)];
    btn.backgroundColor = [UIColor redColor];
    [[JQShelterView shareView]addSubview:btn];
    [JQShelterView blurType:BlurTypeLight];

1

UIButton * btn = [[UIButton alloc]initWithFrame:CGRectMake(100, 100, 101, 100)];
    btn.backgroundColor = [UIColor redColor];
    [[JQShelterView shareView]addSubview:btn];
    [JQShelterView blurType:BlurTypeDark];

2

About

遮罩,shelterView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published