MJAlertView一款弹框

注意事项:git

UIView+MJAlertView.m里须要导入AppDelegategithub

使用方法:swift

case1:spa

UIView.addMJNotifierWithText("这不会回去。点击\"驳回\"隐藏它!", dismissAutomatically: false);

case2:code

UIView.addMJNotifierWithText("这个会本身隐藏", dismissAutomatically: true);

区别在于后面参数 false or trueget

download my demoit

original: https://github.com/mayuur/MJAlertViewclass

相关文章
相关标签/搜索