iOS Question ToolBarVisible

Discussion in 'iOS Questions' started by Ramezanpour, Apr 27, 2015.

  1. Ramezanpour

    Ramezanpour Active Member Licensed User


    I have 2 pages in page 1 ,ToolBarVisible is false and in page 2 ToolBarVisible is true but When i click on back button for go to page 1 ToolBarVisible dont change and it is visible .

    I want when Click on back button ToolBarVisible set to false

    Is Any way to control Back button?
  2. Haris Hafeez

    Haris Hafeez Active Member Licensed User


    May be I haven't understood your problem but if you just want to hide the toolbar upon exiting a page, you can do something like:

    Private Sub MyPage_Disappear
        Main.NavControl.ToolBarVisible = 
    End Sub
    You should replace MyPage with the page event you have defined for your page 2.

    Hope this is helpful.
  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