Skip to content
An iOS AlertView Library ,with Error,Success,Warning
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HHAlertView
HHAlertViewDemo
gif
images
.gitignore
HHAlertView.podspec
LICENSE
README.md

README.md

HHAlertView

An iOS AlertView Library ,with Error,Success,Warning

image

It's very esay to use HHAlertView

##setup

use pod

pod 'HHAlertView', '~> 0.1.0'

How to use

HHAlertView *alertview = [[HHAlertView alloc] initWithTitle:@"成功" detailText:@"恭喜你,操作顺利的实行了!\n换个行试试看效果" cancelButtonTitle:nil otherButtonTitles:@[@"确定"]];
[alertview setEnterMode:HHAlertEnterModeTop];
[alertview setLeaveMode:HHAlertLeaveModeBottom];
[alertview showWithBlock:^(NSInteger index) {
   NSLog(@"%ld",index);
}];

there are three styles

HHAlertViewModeSuccess,
HHAlertViewModeError,
HHAlertViewModeWarning,
HHAlertViewModeInfo,
HHAlertViewModeDefault,
HHAlertViewModeCustom

It's easy to use,enjoy it!

demo

image

image

Todo

  • custom the way to come

Email:harrieschen@gmail.com

You can’t perform that action at this time.