Setting splash screen for hybrid project

2019-02-25 17:26发布

问题:

I am new to hybrid technology , currently I am working on ionic framework with angular js cardova js. My problem is how to set splash screen for my project. Target device of my application is ios devices(iphone & ipad)

Any help is greatly appreciated. Regards, Deepti Aggarwal

回答1:

Although I am not sure how to do this solely with Phonegap, the Monaca IDE (cloud) for hybrid development allows you to add splash screens plus they take care of the dimensions for you. I would highly recommend an online IDE for hybrid development. Moreover, Monaca allows for free requests to and from their server where you can store data. They integrate Onsen UI; however, you can still import the Ionic Framework if you like.

Sorry I don't know exactly how to do this. Hope it helped.



回答2:

  1. Save a splash.png, splash.psd or splash.ai file within the resources directory at the root of the Cordova project (minimum size: 2208x2208 px)
  2. Generate your splash screen: ionic resources --splash


回答3:

If you are new to Hybrid application, then use the INTEL XDK for developing your application. Download the SDK and create a new project and you can edit the index.html page in the www folder. After completing the coding, you can build your android/ios/windows/chrome/web application by selecting the build tab and provide certificates and build with just click start building. Hope this helps you. Also, you can add a splash screen by just upload the screen.