CrashDoctor Diagnosis: Application threw exception NSInternalInconsistencyException: Set maskView
(<UIView: 0x14ac1b480; frame = (0 0; 390 844); autoresize = W+RM+H+BM; gestureRecognizers = <NSArray: 0x303d0e100>; backgroundColor = UIExtendedGrayColorSpace 0 0.2; layer = <CALayer: 0x303ac2bc0>>) to nil
before adding it as a subview of <BRStringPickerView: 0x13b77f300; frame = (0 0; 390 844); autoresize = W+RM+H+BM; layer = <CALayer: 0x303be4060>>
原因
iOS 18 UIView的maskView 属性,代码的属性名和系统的属性名冲突了。
解决办法
maskView属性重命名