MobileButton on iOS with Icon only

Hi,

is there a way to have a MobileButton on iOS with only an icon?
I want to create controls for a media player like this:

I tried to use the iOSDesignExtensions
with

PlayPauseButton.SetImageXC(Picture.SystemImage("play", 100))
PlayPauseButton.Caption = ""

Back10Button.SetImageXC(Picture.SystemImage("gobackward.10", 50))
Back10Button.Caption = ""

For10Button.SetImageXC(Picture.SystemImage("goforward.10", 50))
For10Button.Caption = ""

But it looks like this:

Bildschirmfoto 2024-08-15 um 14.56.56

The Buttons are rectangular (100x100 for the play button, 50x50 for the two other buttons)

Bildschirmfoto 2024-08-15 um 14.57.07

What am I doing wrong?

Thanks a lot.

I use an imageviewer behind a button with no caption. The imageviewer uses an SF Symbols icon. In the opening event I have:

If System.Version >= "15" Then
  Me.Image = Picture.SystemImage("sparkle.magnifyingglass",0,Picture.SystemImageWeights.Unspecified,GridColorGroup,Nil)
End If

That is exactly the way to do it. The only problem is the size of your pictures.

Start with size 0 (which will be roughly 25pt).
If it is too small try sizes from 18 to 50 until you find an acceptable size.

1 Like

Thank you very much Art and Jeremie