错误:'Application windows are expected to have a root view controller at the end of application launch'

2016-06-02 22:38:49.226 布可[[2471:225192] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application windows are expected to have a root view controller at the end of application launch'

经排查是因为 某个不小心让某个View继承了UIWindow

你可能感兴趣的:(错误:'Application windows are expected to have a root view controller at the end of application launch')