You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Klaus Schmidt (JIRA)" <ji...@apache.org> on 2012/09/14 16:40:10 UTC

[jira] [Created] (CB-1466) Display app correctly with iOS status bar

Klaus Schmidt created CB-1466:
---------------------------------

             Summary: 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: iOS 5.1.1, Cordova 2.1.0
            Reporter: Klaus Schmidt
            Assignee: Shazron Abdullah


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

[jira] [Updated] (CB-1466) Display app correctly with iOS status bar

Posted by "Klaus Schmidt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Klaus Schmidt updated CB-1466:
------------------------------

    Environment: iPad3, iOS 5.1.1, Cordova 2.1.0  (was: iOS 5.1.1, Cordova 2.1.0)
    
> 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

[jira] [Commented] (CB-1466) Display app correctly with iOS status bar

Posted by "Klaus Schmidt (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Resolved] (CB-1466) Display app correctly with iOS status bar

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-1466.
----------------------------------

    Resolution: Duplicate

Created a CB-1510 doc issue instead.
                
> 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: Docs, iOS
>    Affects Versions: 2.1.0
>         Environment: iPad3, iOS 5.1.1, Cordova 2.1.0
>            Reporter: Klaus Schmidt
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>         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

[jira] [Updated] (CB-1466) Display app correctly with iOS status bar

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-1466:
---------------------------------

    Component/s: Docs
    
> 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: Docs, iOS
>    Affects Versions: 2.1.0
>         Environment: iPad3, iOS 5.1.1, Cordova 2.1.0
>            Reporter: Klaus Schmidt
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>         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

[jira] [Updated] (CB-1466) Display app correctly with iOS status bar

Posted by "Klaus Schmidt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Klaus Schmidt updated CB-1466:
------------------------------

    Attachment: Screenshot.PNG
    
> 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: 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

[jira] [Updated] (CB-1466) Display app correctly with iOS status bar

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-1466:
---------------------------------

    Fix Version/s: 2.2.0

Adding to 2.2.0 for the doc 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
>             Fix For: 2.2.0
>
>         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