capacitor icon indicating copy to clipboard operation
capacitor copied to clipboard

Splash screen blinking in IOS

Open dfjmax opened this issue 8 years ago • 7 comments

Just created a new project(Ionic + Capacitor) following the instructions on: https://capacitor.ionicframework.com/docs/getting-started/with-ionic

And then changed the splash screens using these instructions: https://www.joshmorony.com/adding-icons-splash-screens-launch-images-to-capacitor-projects/

When I start the application the splash screen image is blinking like in the attached video. IMG_0189.TRIM.MOV.zip

Any clues?

dfjmax avatar Jun 28 '18 14:06 dfjmax

@dfjmax it could be related with the type of the image that is being used. Can you upload this image so we can reproduce that issue.

Transformed video to gif: http://www.giphy.com/gifs/ag3qU174aW4jkC8lvw

wtrocki avatar Jul 31 '18 10:07 wtrocki

I also replaced the Capacitor splash with a custom splash. On the Emulator I notice the app starts with the Capacitor logo and then switches to the custom splash. Might that be the flash?

bartslootweg avatar Aug 28 '18 13:08 bartslootweg

The flash is because iOS first shows the launch storyboard and then the splash plugin shows the same image again, will look into it. Depending on the image it might be more or less noticeable.

When it shows the capacitor image first is because the emulator cached the launch storyboard, you’ll have to delete the app from the simulator. That only happens while in development, not when released from the App Store

jcesarmobile avatar Aug 28 '18 14:08 jcesarmobile

We notice it in production. We were able to make it look less noticeable by adding webView?.isOpaque = false inside CAPBridgeViewController.swift

Not a permanent fix, but it helps.

corysmc avatar Jan 02 '19 19:01 corysmc

Having this too.

bitflower avatar Jan 04 '19 09:01 bitflower

Linking related issue https://github.com/ionic-team/capacitor/issues/1003

jcesarmobile avatar Jan 09 '19 19:01 jcesarmobile

Having this issue as well, using Ionic 4 together with Angular. Adding a delay before hiding the splash screen 'fixes' the flickering of screens. But this is bottlenecking performance.

M00dl3 avatar Feb 13 '19 14:02 M00dl3