SPAlertController
SPAlertController copied to clipboard
提醒对话框,风格和微信原生几乎零误差。简书地址:

调试发现此时alertController的view高度为0,导致各子view都无法显示出来。 SPAlertController *alertController = [SPAlertController alertControllerWithTitle:nil message:nil preferredStyle:SPAlertControllerStyleActionSheet]; alertController.needDialogBlur = YES; SPAlertAction *actionQuit = [SPAlertAction actionWithTitle:CMString(@"自己", nil) style:SPAlertActionStyleDefault handler:^(SPAlertAction * _Nonnull action) { }]; [alertController addAction:actionQuit]; SPAlertAction *actionKill = [SPAlertAction...
[问题描述.zip](https://github.com/SPStore/SPAlertController/files/6590605/default.zip) 👆以上是问题描述。
ios13上设置自定义view宽度展示出来的不对,例如我设置屏幕宽-32 可左右间距还是很大
SPAlertController *alertController = [SPAlertController alertControllerWithTitle:@"请选择变更的场景,变更后报警规则将重置" message:@"subtile" preferredStyle:SPAlertControllerStyleActionSheet animationType:SPAlertAnimationTypeFromBottom]; SPAlertAction *new = [SPAlertAction actionWithTitle:@"+ 新建场景" style:SPAlertActionStyleDestructive handler:^(SPAlertAction * _Nonnull action) { NSLog(@"点击了 新建场景"); }]; SPAlertAction *cancel = [SPAlertAction actionWithTitle:@"取消" style:SPAlertActionStyleCancel handler:^(SPAlertAction...
如题 不敢上线用啊 我需要提供什么环境给大佬复现啊
你是全部封装在.m里面 ,我拿不到。runtime只能拿第一层: Ivar ivar = class_getInstanceVariable([SPAlertController class], "_headerView");//必须是下划线接属性 UIView *view = object_getIvar(self.spaVC, ivar); view.backgroundColor = kRedColor; 但是我要改按钮背景色怎么做?不想把pod的东西提出来改,最大限度尊重原作者。