Undefined symbols for architecture x86_64: "protocol witness table for __ObjC.NSNotification.Name : Swift.Hashable in Foundation", referenced from: xcode8Beta测试.ViewController.touchesBegan (Sw
这种错误只需要注意String 类型和NSnotification.Name类型的不同就行了。举个例子:
吧这个地方的字符串转化为String就行了
时间: 2024-07-29 07:47:38