cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcesarmobile <>
Subject [GitHub] cordova-plugin-splashscreen pull request: CB-10263 Fix splashscree...
Date Sat, 26 Dec 2015 23:31:35 GMT
Github user jcesarmobile commented on a diff in the pull request:
    --- Diff: src/ios/CDVSplashScreen.m ---
    @@ -187,7 +187,35 @@ - (NSString*)getImageName:(UIInterfaceOrientation)currentOrientation
             imageName = @"Default";
    +    // Add Asset Catalog specific prefixes
    +    if ([imageName isEqual:@"LaunchImage"])
    +    {
    +        if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
    --- End diff --
    you have the device, so you can do a if (device.iPhone), and you have device.iPhone5,
device.iPhone6, device.iPhone6Plus and device.iPad available too, so you can use them instead
of checking the size again

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message