Offline bug
If the phone does not connect to the internet and you create the app.js as simple as this, try to click the tabs, exit the app, click the app, (do not re launch, just click the icon again and again in the iphone simulator.)
After around 10 times, the programme will freeze, using 1.4.1 now.
tabGroup = Titanium.UI.createTabGroup();
WinA = Titanium.UI.createWindow({
title:'My Roster', backgroundColor:'#fff',
});
TabA = Titanium.UI.createTab({
icon:'KS_nav_views.png', title:'My Roster', window:WinA
});
WinB = Titanium.UI.createWindow({
title:'Friends Roster', backgroundColor:'#fff'
});
TabB = Titanium.UI.createTab({
icon:'KS_nav_ui.png', title:'Friends Roster', window:WinB
});
tabGroup.addTab(TabA);
tabGroup.addTab(TabB);
tabGroup.open();
2 Answers
-
By the way, I added this two line of code to the info.plist,in order to force exit for iOS4 when pressing the bottom round button:
<key>UIApplicationExitsOnSuspend</key> <true/>
-
Problem happen in kitchen sink too.
Titanium freeze in the splash screen when in offline mode when u go in and out the app for a few times (less than 5 times in kitchen sink),
SDK 1.4.1