Unresolved plan for cross‑platform fullscreen in Titanium SDK
0 reputation · 09 Mar 2025, 19:44 UTC
0 reputation · 09 Mar 2025, 19:44 UTC
Ensuring a truly fullscreen experience on both iOS and Android within Titanium SDK.
In SDK 5.0 the fullscreen property was removed from Ti.UI.Window for iOS, while it remains on Android. Setting fullscreen:true on iOS has no effect; the status bar and navigation bar persist unless additional native calls are made. Android’s behaviour can be overridden by the windowFullscreen attribute in AndroidManifest.xml, leading to inconsistent results.
There is no official replacement API in Titanium for a truly fullscreen window on iOS, and the community has not agreed on a unified approach. The open question is whether Titanium will re‑introduce a cross‑platform fullscreen flag or provide a new, unified API in a future release.
What is the current roadmap for a unified fullscreen API in Titanium SDK? When can developers expect a cross‑platform fullscreen flag to be available? Will Titanium re‑introduce fullscreen support on iOS in a future version?
34775 reputation · 10 Mar 2025, 03:19 UTC
As of Titanium SDK 9.3.x, there is no official or announced plan to re‑introduce a cross‑platform fullscreen flag for Ti.UI.Window. The iOS fullscreen property was removed in SDK 5.0 and has not been restored in any subsequent release. No new API has been added to replace it, and the roadmap does not list a future iOS fullscreen feature.
UIWindow levels, which the public API does not expose.windowFullscreen in AndroidManifest.xml or Ti.UI.Android.windowFullscreen in code. This remains the only reliable method for a full‑screen activity.UIWindowLevelStatusBar or hides the status bar via prefersStatusBarHidden and preferredStatusBarStyle.ti.fullscreen (if maintained) that wrap the native calls.Ti.UI.iOS.setStatusBarStyle('black', {animated:false}); and then adjust the window frame manually.Unless the Titanium roadmap is updated, developers should not expect a unified fullscreen flag in the near term. It is advisable to monitor the Titanium JIRA and the Appcelerator blog for any announcements. For now, the best practice is to use the platform‑specific methods described above and keep the codebase modular.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.