Affects Version/s: Release 3.1.3
Appcelerator Studio 18.104.22.168308252005
Xcode 4.6 and Xcode 5 beta6
The issue is related to the fact the opened window is modal.
Attached a small sample code showing the issue.
'Journal' Alloy sample app (https://github.com/appcelerator/alloy/tree/master/test/apps/models/journal) is throwing an exception on iOS when using TiSDK 3.1.3 (tested using latest 3.1.3.v20130828104626).
On Android it works as expected.
The issue seems to be reproducible only using 3.1.3SDK - Alloy version is the latest GA.
Using TiSDK 3.1.2.GA and Alloy 1.2.1.GA it works as expected on iOS.
1. Grab the Alloy model sample 'Journal' (attached the whole project).
2. Run on device or emulator (tested on a Iphone 5 with iOS 6.1.4 and on iPhone simulator version 6.0/Xcode4.6 and 7.0/Xcode5)
3. Run the app and click on the 'add entry' button
Result: Application Error red-screen is shown (see screenshot).
Full log attached.