iOS Question about tableview first line err

kemanlam

Member
Licensed User
Longtime User
Hi,
my app first shows a cover, then show a tableview. but table firs line does not show complete.
where am i wrong?
 

Attachments

  • My App1.zip
    96.8 KB · Views: 262
  • IMG_1700.PNG
    IMG_1700.PNG
    69.8 KB · Views: 239

Erel

B4X founder
Staff member
Licensed User
Longtime User
It is related to the hiding of the status bar. It later doesn't set the next page size correctly.

You can use this code to first return the status bar and only then show the page:
B4X:
Private Sub timer1_tick
   timecnt = timecnt - 1  
   If timecnt=0 Then
     Log("time is over")
     timer1.Enabled=False
     Dim no As NativeObject = Main.App
     no.RunMethod("setStatusBarHidden:animated:", Array(False, False))
     CallSubDelayed(Me, "ShowNextPage")
   Else
     Log(timecnt)
   End If
   
End Sub

Sub ShowNextPage
   ShowmainModule.Show
End Sub
 
Upvote 0
Top