Просмотр исходного кода

Added documentation for getting the full resolution in iOS

(cherry picked from commit 995d4e10a6f49f33b3e09a6027e8c9cdab0b952c)
Sam Lantinga 1 день назад
Родитель
Сommit
69cf2cf6aa
1 измененных файлов с 13 добавлено и 0 удалено
  1. 13 0
      docs/README-ios.md

+ 13 - 0
docs/README-ios.md

@@ -103,6 +103,19 @@ matrix using the size in points (SDL_GetWindowSize()) can be used in order to
 display content at the same scale no matter whether a Retina device is used or not.
 display content at the same scale no matter whether a Retina device is used or not.
 
 
 
 
+Notes -- Getting full screen resolution
+==============================================================================
+
+Make sure that you have a Launch Screen key in your Info.plist, e.g.
+```
+    <key>UILaunchScreen</key>
+    <dict/>
+```
+If you don't specify a launch screen, then the OS will assume that your
+application needs an older compatibility mode and will get a limited
+resolution screen.
+
+
 Notes -- Application events
 Notes -- Application events
 ==============================================================================
 ==============================================================================