Phonegap / Cordova + iOS7 + Xcode 5

I just finished the application, then iOS7 came out. I am using Cordova 3.0.

Before I upgrade to Xcode 5, compile for iOS7 and nothing works ... I wanted to know if they work well together?

And are Cordova plugins still working (connection, splash guard, notification, storage) or do we need to wait for the Cordova Apache Software Foundation to release a new version?

Many thanks.

+4
source share
4 answers

, xcode4 ( "" ), xcode5. ( : Xcode 5 Xcode 4.6.2?)

My Phonegap iOS7. , , , Phonegap 3.0.0 xcode5 .

, , iOS7, , :

  • iOS7
+3

iOS 7 XCode 5, .

"" "armv7" , , .

+5

cordova 3.0 xcode 5. , . iOS7. . ( ​​ )

0, , margin-top = 20px, jquery mobile, margin-top .

:

1, NO info.plist.

2, 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);
}

iOS 6 . , . ,

3, jQuery mobile iscrollview padding-bottom = 20px.

onDeviceReady: function() {
    console.log("onDeviceReady");
    if( parseInt(device.version) >= 7){
        $("footer").css("padding-bottom","20px");
    }
    app.receivedEvent('deviceready');

},

, Cordova 3.0 + jQuery Mobile + iscrollview Xcode 5 + iOS7. , .

+2

Cordova 2.9 XCode 5 "" , .

, , , , .

For more information, you can see PhoneGap and Cordova with iOS 7

+1
source

All Articles