iOS应用程序崩溃,UICheckBox,drawLayer:inContext

问题描述 投票:0回答:1

[我最近发布了一个iOS应用程序,该应用程序现在有大约1000个下载,而且我第一次崩溃(我使用Firebase Crashlytics)。

我不确定我是否正确理解了此崩溃报告,这是屏幕截图:(iPhone Xr iOS 13.1.3,屏幕截图中的(Manquant)表示(缺少))enter image description here

这是我在UICheckBox.swift第16行中的代码:(我使用UICheckBox_swift库)

enter image description here

知道如何保护我的应用程序免受崩溃事件影响吗?这是我无能为力的系统错误吗?

谢谢

ios swift checkbox crash crashlytics
1个回答
0
投票

尝试一下

self.layer.borderColor = (FDColors.gray707070).cgColor

并确保FDColors.gray707070是UIColor

© www.soinside.com 2019 - 2024. All rights reserved.