iOS Question Barbutton image color

mrossen

Active Member
Licensed User
Longtime User
How do I keep the colors for the image I use in bar button

I know how to change it with:

B4X:
Dim b1 As BarButton
    b1.InitializeBitmap(LoadBitmap(File.DirAssets, "cruise.png"), "btn_cruise")
    b1.TintColor = Colors.RGB(127,176,0)
    Page1.TopLeftButtons = Array(b1)

But how can I keep the original colors.

If I dont use "b1.TintColor" the image went IOS blue

Mogens
 
Top