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