xcode12.5加载自定义控制器
出现错误
[4224:311746] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[AppDelegate setWindow:]: unrecognized selector sent to instance 0x6000000d8430’
*** First throw call stack:
咋说呢 这个错误其实不太好找我首先是百度一下没有适当的解决方案
解决方案就是
因为appdelegate里面在11之后没有这个window了 加上就OK