Question
Limits of Ti.UI.createWindow Modal Property Across iOS and Android
Sky Vale
0 reputation · 02 Mar 2024, 09:35 UTC
39.4K views0
Context
The Ti.UI.createWindow API is the primary declarative entry point for creating native window objects in Appcelerator Titanium. While the API promises a unified lifecycle across iOS and Android, certain properties such as modal and fullscreen have historically exhibited platform‑specific differences.
Observed Constraints
- On iOS,
modal:truetypically presents a full‑screen modal view controller. - On Android, the same flag may trigger a dialog‑style activity or a full‑screen activity depending on the Android SDK version and theme.
- Rapid opening of many modal windows can lead to performance degradation on both platforms.
Unresolved Questions
- Does the
modal:truesetting consistently produce a full‑screen modal on Android, or does it default to a dialog‑style presentation in newer SDKs? - How does Titanium map the Android back button behavior when a modal window is active, and does it differ from iOS’s default back navigation?
- Are there documented memory retention or garbage collection issues when opening multiple modal windows in quick succession on iOS?