jjzjj

myModelView

全部标签

ios - Swift UIViewReportBrokenSuperviewChain 由 Layer 操作引起

将我的代码迁移到Swift3后遇到问题。我猜iOS10现在提出了新问题,它实际上与Swift本身无关。错误:***Terminatingappduetouncaughtexception'NSInternalInconsistencyException',reason:'Viewhaslosttrackofitssuperview,mostlikelythroughunsupporteduseofCALayerAPIontheview'slayer.Ifthisisn'tacrashyet,itwillbeinthenearfuture.Problemview:>Expectedpar

ios - Swift UIViewReportBrokenSuperviewChain 由 Layer 操作引起

将我的代码迁移到Swift3后遇到问题。我猜iOS10现在提出了新问题,它实际上与Swift本身无关。错误:***Terminatingappduetouncaughtexception'NSInternalInconsistencyException',reason:'Viewhaslosttrackofitssuperview,mostlikelythroughunsupporteduseofCALayerAPIontheview'slayer.Ifthisisn'tacrashyet,itwillbeinthenearfuture.Problemview:>Expectedpar