Skip to content

一款非常简单易用的弹出视图小工具,只需要两行代码就能轻松实现各种弹出效果,并且各种动画还可以组合使用。赶紧体验下吧...

License

Notifications You must be signed in to change notification settings

Sniper-xu/XHPopupView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

动画展示

调用方法

1.类调用

XHPopupView *popView = [XHPopupView popupWithContentView:self.contentView showType:XHPopupShowType_GrowIn dismissType:XHPopupDismissType_GrowOut maskType:XHPopupMaskType_None dismissOnBackgroundTouch:YES dismissOnContentTouch:YES];
[popView showWithDuration:2]; 

2.对象调用

XHPopupView *popview = [[XHPopupView alloc]initWithFrame:UIScreen.mainScreen.bounds];
popview.showType = XHPopupShowType_GrowIn;
popview.dismissType = XHPopupDismissType_GrowOut;
popview.showInDuration = 2;
[popView show];

About

一款非常简单易用的弹出视图小工具,只需要两行代码就能轻松实现各种弹出效果,并且各种动画还可以组合使用。赶紧体验下吧...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages