incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Robertson <a...@cooked.it>
Subject Re: [jira] [Updated] (CB-263) PhoneGap Splash screen is incorrectly positioned
Date Mon, 20 Feb 2012 04:53:56 GMT
I had this issue as well.  Quick fix that worked for me was to make sure
your splash image is exactly 1024 x 768.  If it is not the full height the
UIWebView will shift it up.

Adam


On Sun, Feb 19, 2012 at 7:39 PM, Alex Talis (Updated) (JIRA) <
jira@apache.org> wrote:

>
>     [
> https://issues.apache.org/jira/browse/CB-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Alex Talis updated CB-263:
> --------------------------
>
>    Description:
> The splash screen image view is offset up by a distance that appears to be
> equal to the height of the status bar. As a result, user can see portion of
> the white web view at the bottom of the screen. The perceived effect is
> that the launch image briefly jumps up just before the web view is revealed.
>
> To reproduce, set up a project like this:
>
> * Create new PhoneGap 1.4.1 iOS project.
> * Add info plist entry with key "Launch image (iPad)" and value "iPad".
> * Add iPad-Landscape.png and iPad-Portrait.png to project's Resources
> group. I used solid red images (for contrast) of standard size (768x1004
> and 1024x748).
>
> Run the project in iOS 5 simulator or an iOS 5 iPad to see the splash jump
> up.
>
> The problem seems to be that [PGViewController showSplashScreen] does not
> account for status bar when it sizes and positions the image view.
>
>  was:
> The splash screen image view is offset up by what appears to be height of
> the status bar. As a result, user can see portion of the white web view at
> the bottom of the screen. The perceived effect is that the launch image
> briefly jumps up just before the web view is revealed.
>
> To reproduce, set up a project like this:
>
> * Create new PhoneGap 1.4.1 iOS project.
> * Add info plist entry with key "Launch image (iPad)" and value "iPad".
> * Add iPad-Landscape.png and iPad-Portrait.png to project's Resources
> group. I used solid red images (for contrast) of standard size (768x1004
> and 1024x748).
>
> Run the project in iOS 5 simulator or an iOS 5 iPad to see the splash jump
> up.
>
> The problem seems be that [PGViewController showSplashScreen] does not
> account for status bar when it sizes and positions the image view.
>
>
> > PhoneGap Splash screen is incorrectly positioned
> > ------------------------------------------------
> >
> >                 Key: CB-263
> >                 URL: https://issues.apache.org/jira/browse/CB-263
> >             Project: Apache Callback
> >          Issue Type: Bug
> >          Components: iOS
> >    Affects Versions: 1.4.0
> >         Environment: Xcode 4.2, PhoneGap 1.4.1
> >            Reporter: Alex Talis
> >            Assignee: Shazron Abdullah
> >             Fix For: 1.5.0
> >
> >
> > The splash screen image view is offset up by a distance that appears to
> be equal to the height of the status bar. As a result, user can see portion
> of the white web view at the bottom of the screen. The perceived effect is
> that the launch image briefly jumps up just before the web view is revealed.
> > To reproduce, set up a project like this:
> > * Create new PhoneGap 1.4.1 iOS project.
> > * Add info plist entry with key "Launch image (iPad)" and value "iPad".
> > * Add iPad-Landscape.png and iPad-Portrait.png to project's Resources
> group. I used solid red images (for contrast) of standard size (768x1004
> and 1024x748).
> > Run the project in iOS 5 simulator or an iOS 5 iPad to see the splash
> jump up.
> > The problem seems to be that [PGViewController showSplashScreen] does
> not account for status bar when it sizes and positions the image view.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message