I have a single window app that I made that has worked on my phone and in the simulator. I have submitted 5 different versions of the code to apple and they have all been rejected saying the app never got past the loading screen. But they all worked for me.
I have tried hiding the navbar, I have tried the app.js opening a new main.js window, I have tried just creating a window in app.js and opening it. All of my solutions have worked on my phone and the simulator. I have no idea what is going on here and I can't just randomly submit the app to apple again. Its been 2 weeks between each review and like I said ive submitted it 5 times now.
I am in serious need of a working example of a single window app that has been approved by apple. How do I properly create the window and how do I add buttons/fields to it?
Here is part of my current App.js made with SDK 1.8.2 for iPhone
var win1 = Titanium.UI.createWindow({ backgroundImage:'images/bg.png', navBarHidden: true, fullscreen:true, tabBarHidden:true }); win1.orientationModes = [Ti.UI.LANDSCAPE_RIGHT]; win1.open(); var clearname = Titanium.UI.createButton({ title : 'Clear Name', width : 70, height: 30, top : 30, left : 10 }); clearname.addEventListener('click', function() { namefield.value = ''; }); win1.add(clearall);Below this code is more fields in this window and about 3,000 lines of code in several calculation functions.
1 Answer
Accepted Answer
To start with, you should be using the latest released SDK which is 2.1.0.GA which resolves a false start bug.
Your Answer
This question has been locked and cannot accept new answers.