1d9a3a9b1c
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. |
||
---|---|---|
.. | ||
export | ||
globals | ||
app_delegate.h | ||
app_delegate.mm | ||
detect.py | ||
game_center.h | ||
game_center.mm | ||
gl_view.h | ||
gl_view.mm | ||
godot_iphone.cpp | ||
icloud.h | ||
icloud.mm | ||
in_app_store.h | ||
in_app_store.mm | ||
ios.h | ||
ios.mm | ||
logo.png | ||
main.m | ||
os_iphone.cpp | ||
os_iphone.h | ||
platform_config.h | ||
platform_refcount.h | ||
power_iphone.cpp | ||
power_iphone.h | ||
SCsub | ||
sem_iphone.cpp | ||
sem_iphone.h | ||
view_controller.h | ||
view_controller.mm |