godot/misc/dist
Ruslan Mustakov 1d9a3a9b1c iPhone X support and iOS-related fixes
Starting from April 2018 Apple no longer accepts apps that do not
support iPhone X. For games this mainly means respecting the safe area,
unobstructed by notch and virtual home button. UI controls must be
placed within the safe area so that users can interact with them.

This commit:

- Adds OS::get_window_safe_area method that returns unobscured area of
  the window, where interactive controls should be rendered.

- Reorganizes how launch screens are exported - the previous way was
  incorrect and modern iPhones did not pick up the correct screens and
  because of that used a non-native resolution to render the game.

- Adds launch screen options for iPhone X.

- Makes launch screens optional in the export template. If not
  specified, a white screen will be used.

- Adds App Store icon (1024x1024) export option as it now has to be
  bundled with the app instead of being provided in iTunes Connect.

- Fixes crash when launching games in iOS Simulator. It happened because
  controllerWasConnected callback came before the engine was
  initialized. Now in such case the controllers will be queued up and
  registered after initialization is done.

- Fixes issue with the virtual keyboard where for some reason
  autocorrection panel would intersect with the keyboard itself and not
  allow you to use the top row of the keyboard. This is fixed by
  disabling autocorrection altogether.

Closes #17358. Fixes #17428. Fixes #17331.
2018-04-11 14:53:24 +07:00
..
appimage
docker Convert DOS line endings to Unix line endings 2017-11-05 11:37:59 +01:00
html Check only for WebGL 1.0, move test to HTML file 2018-03-15 04:04:24 +01:00
ios_xcode iPhone X support and iOS-related fixes 2018-04-11 14:53:24 +07:00
linux Added the "GLES2" option for the video-driver in the terminal help. 2018-03-25 23:23:53 -03:00
osx_template.app/Contents Use new icons everywhere 2017-05-28 20:18:30 +02:00
osx_tools.app/Contents Dist: Update manpage and macOS version string 2018-01-25 23:21:31 +01:00
uwp_template Convert DOS line endings to Unix line endings 2017-11-05 11:37:59 +01:00
project_icon.svg Adapt tutorials (Godot Docs) icon to new design 2017-05-17 21:22:01 +02:00