UIWindow的使用注意事项
1,注意设置UIWindow的frame
self.window = UIWindow(frame:CGRectMake(0,0,DeviceFrame.width,DeviceFrame.height+StatusBarFrame.height)) self.window.rootViewController = rootViewController self.window.makeKeyAndVisible()
1,注意设置UIWindow的frame
self.window = UIWindow(frame:CGRectMake(0,0,DeviceFrame.width,DeviceFrame.height+StatusBarFrame.height)) self.window.rootViewController = rootViewController self.window.makeKeyAndVisible()