You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Dominic N. Sotirescu (JIRA)" <ji...@apache.org> on 2012/10/05 00:33:47 UTC

[jira] [Created] (CB-1590) 2 Splash screens on iPhone5

Dominic N. Sotirescu created CB-1590:
----------------------------------------

             Summary: 2 Splash screens on iPhone5
                 Key: CB-1590
                 URL: https://issues.apache.org/jira/browse/CB-1590
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.1.0
         Environment: MacBook Air, XCode 4.5, iOS6 on iPhone5
            Reporter: Dominic N. Sotirescu
            Assignee: Shazron Abdullah
             Fix For: 2.2.0


The iPhone5 splash screen (Default-568h@2x.png, 640x1136) appears, I hide it (using navigator.splashscreen.hide();) and then another splash screen appears (the iPhone4 size with gaps at the top and bottom).
It only happens on iPhone5

--
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-1590) 2 Splash screens on iPhone5

Posted by "Dominic N. Sotirescu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471845#comment-13471845 ] 

Dominic N. Sotirescu commented on CB-1590:
------------------------------------------

Sorry, I already replied to you 2 times. I could not try the Edge release because NOWHERE on your site it explains where to get it. Which one of the depos on GitHub is is stored on? In the meantime I got a fix from Gaz which solves the problem, you can see it in on the google PhoneGap group:

here it is:

In the CDVViewController.m file, in the showSplashScreen function, it picks what file to show for the splash screen, but doesn't pick the larger one when running on iPhone 5. Look for this bit of code


else // not iPad
    {
	orientedLaunchImageFile = launchImageFile;
    }


and change it to

else // not iPad
    {
	if ( [UIScreen mainScreen].bounds.size.height == 568 )
	{
		orientedLaunchImageFile = [NSString stringWithFormat:@"%@-568h", launchImageFile];
	}
	else
	{
		orientedLaunchImageFile = launchImageFile;
	}
    }



See if you can use this in your latest code.

Dominic





                
> 2 Splash screens on iPhone5
> ---------------------------
>
>                 Key: CB-1590
>                 URL: https://issues.apache.org/jira/browse/CB-1590
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: MacBook Air, XCode 4.5, iOS6 on iPhone5
>            Reporter: Dominic N. Sotirescu
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>
> The iPhone5 splash screen (Default-568h@2x.png, 640x1136) appears, I hide it (using navigator.splashscreen.hide();) and then another splash screen appears (the iPhone4 size with gaps at the top and bottom).
> It only happens on iPhone5

--
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-1590) 2 Splash screens on iPhone5

Posted by "Becky Gibson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471681#comment-13471681 ] 

Becky Gibson commented on CB-1590:
----------------------------------

Have you tested this with an edge version of Cordova? There have been many iOS related fixes.  If so, does it also happen on the simulator (I don't have an iPhone 5 device).  If it can be recreated on the simulator can you provide more details on how to reproduce?
                
> 2 Splash screens on iPhone5
> ---------------------------
>
>                 Key: CB-1590
>                 URL: https://issues.apache.org/jira/browse/CB-1590
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: MacBook Air, XCode 4.5, iOS6 on iPhone5
>            Reporter: Dominic N. Sotirescu
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>
> The iPhone5 splash screen (Default-568h@2x.png, 640x1136) appears, I hide it (using navigator.splashscreen.hide();) and then another splash screen appears (the iPhone4 size with gaps at the top and bottom).
> It only happens on iPhone5

--
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-1590) 2 Splash screens on iPhone5

Posted by "Dominic N. Sotirescu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472048#comment-13472048 ] 

Dominic N. Sotirescu commented on CB-1590:
------------------------------------------

Thanks Becky, I appreciate all your hard work. I strongly believe in Cordova.

Sent from my iPhone5

On 2012-10-08, at 6:30 PM, "Becky Gibson (JIRA)" <ji...@apache.org> wrote:


   [ https://issues.apache.org/jira/browse/CB-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471923#comment-13471923 ] 

Becky Gibson commented on CB-1590:
----------------------------------

Ok, thanks.  Must be buried in my inbox. This is indeed fixed for the 2.2
release.  I'll make a note to find or write instructions for getting an
edge build and make them available.  This issue is actually the same fix as
for https://issues.apache.org/jira/browse/CB-1587.

thanks,
-becky


On Mon, Oct 8, 2012 at 4:52 PM, Dominic N. Sotirescu (JIRA) <jira@apache.org




--
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

                
> 2 Splash screens on iPhone5
> ---------------------------
>
>                 Key: CB-1590
>                 URL: https://issues.apache.org/jira/browse/CB-1590
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: MacBook Air, XCode 4.5, iOS6 on iPhone5
>            Reporter: Dominic N. Sotirescu
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>
> The iPhone5 splash screen (Default-568h@2x.png, 640x1136) appears, I hide it (using navigator.splashscreen.hide();) and then another splash screen appears (the iPhone4 size with gaps at the top and bottom).
> It only happens on iPhone5

--
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-1590) 2 Splash screens on iPhone5

Posted by "Becky Gibson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471923#comment-13471923 ] 

Becky Gibson commented on CB-1590:
----------------------------------

Ok, thanks.  Must be buried in my inbox. This is indeed fixed for the 2.2
release.  I'll make a note to find or write instructions for getting an
edge build and make them available.  This issue is actually the same fix as
for https://issues.apache.org/jira/browse/CB-1587.

thanks,
-becky


On Mon, Oct 8, 2012 at 4:52 PM, Dominic N. Sotirescu (JIRA) <jira@apache.org


                
> 2 Splash screens on iPhone5
> ---------------------------
>
>                 Key: CB-1590
>                 URL: https://issues.apache.org/jira/browse/CB-1590
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: MacBook Air, XCode 4.5, iOS6 on iPhone5
>            Reporter: Dominic N. Sotirescu
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>
> The iPhone5 splash screen (Default-568h@2x.png, 640x1136) appears, I hide it (using navigator.splashscreen.hide();) and then another splash screen appears (the iPhone4 size with gaps at the top and bottom).
> It only happens on iPhone5

--
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-1590) 2 Splash screens on iPhone5

Posted by "Gary Smith (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471873#comment-13471873 ] 

Gary Smith commented on CB-1590:
--------------------------------

This should be marked as duplicate of CB-1587, which is now marked as fixed.

Becky, this does happen in simulator. To demonstrate, add 2 splash screens, one for 3.5" and another for 4". Make them totally different colours so you can see the effect. Turn off AutoHideSplashScreen in Cordova.plist and run the file. The 4" screen will appear at start up and be replaced by the 3.5" screen.

Dominic, got to https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git and click on the snapshot link in the top entry in the shortlog.

Gaz
 
                
> 2 Splash screens on iPhone5
> ---------------------------
>
>                 Key: CB-1590
>                 URL: https://issues.apache.org/jira/browse/CB-1590
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: MacBook Air, XCode 4.5, iOS6 on iPhone5
>            Reporter: Dominic N. Sotirescu
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>
> The iPhone5 splash screen (Default-568h@2x.png, 640x1136) appears, I hide it (using navigator.splashscreen.hide();) and then another splash screen appears (the iPhone4 size with gaps at the top and bottom).
> It only happens on iPhone5

--
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-1590) 2 Splash screens on iPhone5

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

Becky Gibson resolved CB-1590.
------------------------------

    Resolution: Fixed

really a duplicate of 1587.
                
> 2 Splash screens on iPhone5
> ---------------------------
>
>                 Key: CB-1590
>                 URL: https://issues.apache.org/jira/browse/CB-1590
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: MacBook Air, XCode 4.5, iOS6 on iPhone5
>            Reporter: Dominic N. Sotirescu
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>
> The iPhone5 splash screen (Default-568h@2x.png, 640x1136) appears, I hide it (using navigator.splashscreen.hide();) and then another splash screen appears (the iPhone4 size with gaps at the top and bottom).
> It only happens on iPhone5

--
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-1590) 2 Splash screens on iPhone5

Posted by "Becky Gibson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471880#comment-13471880 ] 

Becky Gibson commented on CB-1590:
----------------------------------

Thanks, Gaz.  I couldn't see the problem because I already had the fix.  Will mark this as resolved.
                
> 2 Splash screens on iPhone5
> ---------------------------
>
>                 Key: CB-1590
>                 URL: https://issues.apache.org/jira/browse/CB-1590
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: MacBook Air, XCode 4.5, iOS6 on iPhone5
>            Reporter: Dominic N. Sotirescu
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>
> The iPhone5 splash screen (Default-568h@2x.png, 640x1136) appears, I hide it (using navigator.splashscreen.hide();) and then another splash screen appears (the iPhone4 size with gaps at the top and bottom).
> It only happens on iPhone5

--
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