Hello.
I am using B4i v10, hosted buider.
I found that in iOS 26 it is impossible to draw something in the ImageView object. But drawing works in the Panel object. In iOS 18 drawing in ImageView worked.
Sample code:
Result:
I am using B4i v10, hosted buider.
I found that in iOS 26 it is impossible to draw something in the ImageView object. But drawing works in the Panel object. In iOS 18 drawing in ImageView worked.
Sample code:
'Left square
Dim WPimage As ImageView
WPimage.Initialize("")
WPimage.Height = mSize
WPimage.Width = mSize
WPimage.Color = Colors.Red
Dim cvs1 As Canvas
cvs1.Initialize(WPimage)
cvs1.DrawCircle(mSize*0.5, mSize*0.5, mSize*0.5, Colors.Yellow, True, 0dip) ' NOT WORKING !
cvs1.Refresh
cvs1.Release
'Right square
Dim WPimage As Panel
WPimage.Initialize("")
WPimage.Height = mSize
WPimage.Width = mSize
WPimage.Color = Colors.Red
Dim cvs1 As Canvas
cvs1.Initialize(WPimage)
cvs1.DrawCircle(mSize*0.5, mSize*0.5, mSize*0.5, Colors.Yellow, True, 0dip) ' WORKING !
cvs1.Refresh
cvs1.Release
Result: