Cordova – IOS7 boot screen (flash screen) leaves space at the bottom

When I launch my iOS7 Phonegap application with iPhone 4 inches, there is a problem, the startup screen rises and leaves a blank area at the bottom (we can see the view behind): < p>

http://screencloud.net/v/5gAO
(I have hidden most of the splash plate, but you can see the space at the bottom)

I only hide the screenshot after my application loads (AutoHideScreenshot = FALSE), maybe I did something wrong when the application started?

Everything looks to be properly configured in XCode:

Any ideas? Thanks in advance

Just found the solution: https://issues.apache.org/jira/browse /CB-4391
If you cannot update cordova, you can apply this fix. Open CDVSplashScreen.m and replace the line:

imgBounds.origin. y -= statusFrame.size.height;

Through this line:

if (!(IsAtLeastiOSVersion(@"7.0"))) {
imgBounds.origin.y -= statusFrame.size.height;
}

This is because in iOS7, the status bar is integrated in the view (will not happen)

< /div>

When I launch my iOS7 Phonegap application with iPhone 4 inches, there is a problem, the startup screen rises and leaves a blank area at the bottom (we can see the view behind):

http://screencloud.net/v/5gAO
(I have hidden most of the splash plate, but you can see the space at the bottom)

I Only hide the screenshot after my app is loaded (AutoHideScreenshot = FALSE), maybe I did something wrong when the app started?

Everything looks to be properly configured in XCode:

Any ideas? Thanks in advance

Just found the solution: https://issues.apache.org/jira/browse/CB-4391
If you can’t update cordova , You can apply this fix. Open CDVSplashScreen.m and replace the line:

imgBounds.origin.y -= statusFrame.size.height;

Through this line:

if (!(IsAtLeastiOSVersion(@"7.0"))) {
imgBounds.origin.y -= statusFrame.size .height;
}

This is because in iOS7, the status bar is integrated in the view (will not happen)

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3725 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.