应用程序委托中的NSUnknownKeyException错误
我的应用程序崩溃在应用程序委托的每个屏幕上,我曾经使用过标签和文本框。 当标签被删除应用程序工作正常,但再次连接到swift文件时崩溃。
如果你有这种types的错误
STEP 1:Go XIB or if use STORYBOARD go STORYBOARD STEP 2:Click View Controller STEP 3:Again Give connection properly(Fill the circle) STEP 4:Also check whether it is for button action or outlet property
非常重要:右键单击文件所有者(黄色),然后单击“连接检查器”(右上箭头),一次查看所有网点。 找出显示缺失的sockets!取消。 现在起作用了。