Zhongyuan Zhou
Zhongyuan Zhou

Reputation: 339

How to use cordova-plugin-splashscreen for iOS platform?

In the cordova-plugin-splashscreen, there are only a little example. I don't know how to use it for iOS platform. Here are my questions:

  1. any example?(both the config.xml and where did you place your images)
  2. what does "resourcename" mean for in iOS platform?

Upvotes: 3

Views: 492

Answers (1)

daserge
daserge

Reputation: 1512

See Icons and Splash Screens Cordova docs for the example config.xml setup. Note that src is relative to the project root folder (and not to the www folder):

www css js index.html ... res screen ios Default-Landscape@2x~ipad.png ...

Ionic can also automatically generate splash screen and icons from a large image.

Upvotes: 2

Related Questions