iOS Question B4I TabStrip Library Error

lucasheer

Active Member
Licensed User
Longtime User
I get this error when I try to open my app
B4X:
Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/664E52A5-554D-4BA3-8678-FA82B20BCDCA/B4i Example.app> (loaded)' with name 'ButtonCell'

I have the ButtonCell.xib file in Files/Special folder.

Here is my code:
B4X:
Private Sub Application_Start (Nav As NavigationController)
    'SetDebugAutoFlushLogs(True) 'Uncomment if program crashes before all logs are printed.
    NavControl = Nav
    
    Page1.Initialize("Page1")
    Page1.Title = "Main Page"
    Page1.RootPanel.LoadLayout("mainView")

    NavControl.ShowPage(Page1)
    
    tabPages.Initialize()
    
    Dim gradePage As Page
    gradePage.Initialize("gradePage")
    gradePage.RootPanel.LoadLayout("gradeView")
    gradePage.Title = "Grades"
    
    Dim gradePage1 As Page
    gradePage1.Initialize("gradePage")
    gradePage1.RootPanel.LoadLayout("gradeView")
    gradePage1.Title = "Grades1"
    
    
    tabPages.Add(gradePage)
    tabPages.Add(gradePage1)
    
    TabStrip1.SetPages(tabPages)
End Sub

Thank you!
 
Top