D
Deleted member 103
Guest
Hi,
with the iPhone-X (simulator), this code causes an error.
The iPhone 6+, iPad Mini and iPhone 6+ (simulator) it works without problems.
Now I do not know if the errors are only with the iPhone X (simulator) or also with the normal iPhone X.
Here is code:
Here are the logs:
with the iPhone-X (simulator), this code causes an error.
The iPhone 6+, iPad Mini and iPhone 6+ (simulator) it works without problems.
Now I do not know if the errors are only with the iPhone X (simulator) or also with the normal iPhone X.
Here is code:
B4X:
Private Sub FillCronoTimer(Timerlist As List, IsListChanged As Boolean)
Dim racetime1 As RaceProperty
Dim pnl As Panel
ShowProgressBar(True, 0)
For i = 0 To Timerlist.Size -1
'...
customlistview.Add(Timerlist.Get(i))
'...
ShowProgressBar(True, i / Timerlist.Size)
Sleep(0)
Log("Sleep=" & i)
Next
ColorAllPanel
ShowProgressBar(False, 0)
End Sub
Private Sub ShowProgressBar(Visible As Boolean, Value As Double)
pnlProgressBar.BringToFront
pnlProgressBar.Visible = Visible
lblProgress.Width = Value * (ProgressBar.Width - 2dip)
End Sub
Private Sub ColorAllPanel
Log("ColorAllPanel")
'...
End Sub
Here are the logs:
Logs in iPhone-x (Simulator)
Sleep=0
Sleep=1
Sleep=0
Sleep=2
Sleep=1
Sleep=3
Sleep=2
Sleep=4
Sleep=3
Sleep=5
ColorAllPanel
Sleep=4
Sleep=5
ColorAllPanel
Logs in iPhone 6+
Sleep=0
Sleep=1
Sleep=2
Sleep=3
Sleep=4
Sleep=5
ColorAllPanel
Logs in iPhone 6+ (Simulator)
Sleep=0
Sleep=1
Sleep=2
Sleep=3
Sleep=4
Sleep=5
ColorAllPanel