I'm using cordova 3.0 and xcode 5 too.
It seems not any compile error and can run successfully.
Problem is iOS7's screen length.
Can use below method to solve the screen length problem. (this is also mentioned as a statusbar hide main ui problem)
0, not sure whether the margin-top=20px solution whether work good, because in my environment, I'm also using jquery mobile, so simple set margin-top has no effect.
My solution is:
1, Set View controller-based status bar appearance to NO in info.plist file.
2, Use this code for iOS 7
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) {
[application setStatusBarStyle:UIStatusBarStyleLightContent];
self.window.clipsToBounds =YES;
self.window.frame = CGRectMake(0,20,self.window.frame.size.width,self.window.frame.size.height-20);
}
Till now, the status bar shows back to like iOS 6 or earlier. But you can find bottom a little hidden under the device scree.
To solve this problem,
3, Set all jquery mobile and iscrollview footer element padding-bottom=20px.
onDeviceReady: function() {
console.log("onDeviceReady");
if( parseInt(device.version) >= 7){
$("footer").css("padding-bottom","20px");
}
app.receivedEvent('deviceready');
},
That's all for me to port my Cordova 3.0 + jQuery Mobile + iscrollview app to Xcode 5 + iOS7 .
Hope it helpful to you.