Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

How to change the top color of IOS app(Color at the phone battery icon)

$
0
0

One screenshot of my xamarin forms ios app is adding below. I want the change the color on the top part, I mean on the color at the battery icon. Currently, it is white, I need it as yellow.

For getting the top padding I added the following code on my XAML:

 <StackLayout>
    <StackLayout.Padding>
       <OnPlatform x:TypeArguments="Thickness" 
          Android="0, -10, 0, 0" 
          WinPhone="0, -10, 0, 0" 
          iOS="0, 15, 0, 0"/>
     </StackLayout.Padding>
 </StackLayout>

If I remove above code, my app icons and battery icon in the phone get overlap. So How can I change the white color on top?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>