[
https://issues.apache.org/jira/browse/CB-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455857#comment-13455857
]
Klaus Schmidt commented on CB-1466:
-----------------------------------
OK, it's my fault. I found, that I did not implement the viewWillAppear-method.
I copied this method from the generated example project (From the 'device is
ready'-project) and then my app works.
Can you please give a hint in the documentation or in the upgrade guide of iOS
that one has to edit the viewController when updating to 2.1.0?
You can close this issue.
> Display app correctly with iOS status bar
> -----------------------------------------
>
> Key: CB-1466
> URL: https://issues.apache.org/jira/browse/CB-1466
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.1.0
> Environment: iPad3, iOS 5.1.1, Cordova 2.1.0
> Reporter: Klaus Schmidt
> Assignee: Shazron Abdullah
> Attachments: Screenshot.PNG
>
>
> Hello,
> because of rejecting our app by Apple because it's not runnable in iOS 6
> (CB-1219) we would like to upgrade from 2.0.0 to 2.1.0.
> I've done this as the upgrade guide told. The app runs fine, but now we have
> the following problem:
> The app does not declare something like "[application setStatusBarHidden:YES
> animated:NO];" in the appDelegate, and this is correct, because we want the
> iOS status bar to be displayed. The status bar is displayed, that's correct.
> But the app is displayed like we would have applied this option mentioned:
> The status bar hides the top of the app page, so the first several pixels in
> height are not displayed.
> In our index.html we declare
> <meta name="viewport" content="user-scalable=no, initial-scale=1,
> maximum-scale=1, minimum-scale=1, width=device-width,
> target-densitydpi=device-dpi" />
> This works fine in version 2.0.0, but not in 2.1.0.
> Summary: Is this a bug in 2.1.0 that the app is displayed like
> status-bar-hidden, even if the status bar is not hidden? If it is not a bug,
> how can I get the behavior of 2.0.0, that the iOS status bar is displayed an
> then the app page starts?
> Thanks for your reply.
> Greetings,
> Klaus.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira