kristofferandreasen
kristofferandreasen

Reputation: 897

How do I make the statusbar transparent on iOS without removing it in Ionic 3?

I have looked in multiple places for a solution with my statusbar in my Ionic 3 application. On iOS it seems when I call statusbar.hide it simply removes the objects but keeps the placeholder. You can see it in the image below:

enter image description here

How do I make it transparent but keep the objects? I want the time and numbers to be there, but the statusbar itself to be transparent.

Upvotes: 1

Views: 777

Answers (1)

Sampath
Sampath

Reputation: 65890

You can use Ionic native plugin status bar here.

styleBlackTranslucent()
Use the blackTranslucent statusbar (light text, for dark backgrounds).

Here is the original repo for more details.

Upvotes: 2

Related Questions