GitHub user noisysocks opened a pull request:
https://github.com/apache/cordova-plugin-splashscreen/pull/27
Support iPhone 6/6+ by using UILaunchStoryboardName NIB if available
I need to support the larger iPhone 6 and 6 Plus screens in a project I'm
working on so adapted this plugin to use a Launch Screen NIB if available.
I've adapted the plugin to load the NIB specified by the
UILaunchStoryboardName key in the Info.plist. It will then palce a UIView taken
from this NIB over the top of the application in lieu of the regular
UIImageView.
I haven't tested this approach on iPad or when launching in landscape mode
and I do not currently support Storyboard launch screens. Figured I'd
nonetheless submit the PR in case it's useful to anyone else.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/noisysocks/cordova-plugin-splashscreen master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-splashscreen/pull/27.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #27
----
commit 882362189c8da5372df61845a7861a9722744041
Author: Robert Anderson <[email protected]>
Date: 2014-09-19T00:27:00Z
support iPhone 6/6+ by using UILaunchStoryboardName nib if available
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---