iOS Question B4I TabStrip Library Error

Discussion in 'iOS Questions' started by lucasheer, May 25, 2018.

  1. lucasheer

    lucasheer Member Licensed User

    I get this error when I try to open my app
    Code:
    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:
    Code:
    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!
     
  2. lucasheer

    lucasheer Member Licensed User

    I'm so sorry, I finally figured it out. I cleaned the project, and it worked. Thank you!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice