Skip to content

风格很好半透明背景的AlertView,支持横竖屏切换

License

Notifications You must be signed in to change notification settings

Demons-Bee/DHAlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHAlertView

###风格很好半透明背景的AlertView,支持横竖屏切换,点击AlertView外部消失

动画

####竖屏的风格如下:

DHAlertView

####横屏照样可以完美: DHAlertView

如上图中所示,对话框中的View你可以进行任意的自定义.

How to use

    DHAlertView *alert = [[DHAlertView alloc] initWithTitle:@"Your Title" contentView:YourCustomView completion:^{
            // Do anything you want do in this block        
    }];
    
    [alert show];

想自动消失的话:

    [alert dismiss];

License

These specifications and CocoaPods are available under the MIT license.

About

风格很好半透明背景的AlertView,支持横竖屏切换

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published