问题:'Application windows are expected to have a root view controller at the end of application launch'
解决:
mainCr=[[DMainUIController alloc] init];//新建一个viewcontroller
window.rootViewController = mainCr;//赋给rootViewController
问题:'Application windows are expected to have a root view controller at the end of application launch'
解决:
mainCr=[[DMainUIController alloc] init];//新建一个viewcontroller
window.rootViewController = mainCr;//赋给rootViewController