SPAlertController
SPAlertController copied to clipboard
提醒对话框,风格和微信原生几乎零误差。简书地址:
delay个0.5秒之后present就可以,但是系统的UIAlertViewController则没这个bug,本想用这个库替换整个项目里面的原生alert,但是很多地方都在didLoad里面做的弹窗。。。
想改下,源码在哪里能改这个高度呀?
ActionView 背景是否可以不透明
SPAlertController *alertController = [SPAlertController alertControllerWithTitle:nil message:nil preferredStyle:SPAlertControllerStyleActionSheet]; SPAlertAction *contact = [SPAlertAction actionWithTitle:ASLocalized(@"解除绑定") style:SPAlertActionStyleDefault handler:^(SPAlertAction * _Nonnull action) { NSLog(@"无效"); }]; SPAlertAction *cacel = [SPAlertAction actionWithTitle:ASLocalized(@"取消") style:SPAlertActionStyleDefault handler:nil]; [alertController addAction:contact]; [alertController...
/** 是否单击背景退出对话框,默认为YES */ @property(nonatomic, assign) BOOL tapBackgroundViewDismiss; 这个属性根本没有用啊 设置了都是无效的 什么时候麻烦完善下
能用marsonry 约束重新布局一下就更好了
内存泄漏
 怀疑UIView使用了strong
大佬,请支持下横屏模式,谢谢!!!