LoginSignup
0
0

More than 5 years have passed since last update.

UIWindow と Multitasking

Posted at

AppDelegate でもともとこのよう

self.window = UIWindow(frame: UIScreen.main.bounds)

iOS 9 から、Multitasking を活用に、 iPad では UIWindow の大きさが変化されるようになって、その理由で、 UIWindow を生成するときは frame の設定は必要ないになる。

今はこのようになって -

self.window = UIWindow()

iOS は自動的に UIWindow の大きさを適当に設定くれる。

cf.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0