技术文章分类(180)

技术随笔(11)

UIWindow的使用注意事项

1,注意设置UIWindow的frame

      self.window = UIWindow(frame:CGRectMake(0,0,DeviceFrame.width,DeviceFrame.height+StatusBarFrame.height))
        self.window.rootViewController = rootViewController
        self.window.makeKeyAndVisible()
posted @ 2014-07-16 10:20  坤哥MartinLi  阅读(191)  评论(0编辑  收藏  举报