iOS Question Back key event

Discussion in 'iOS Questions' started by ginsh, Jun 26, 2019.

  1. ginsh

    ginsh Member Licensed User


    Anyone how to get the back key (previous page) and home button click events?


    Attached Files:

  2. hatzisn

    hatzisn Active Member Licensed User

    Search in the forum for TopLeftButtons. The shortcut way for the back button is that you HideBackButton in the Page and create a BarButton which you add in TopLeftButtons and handle this button's click event to go back (f.e. previouspage.Show). For home button I do not have a clue.
    Last edited: Jun 26, 2019
  3. Erel

    Erel Administrator Staff Member Licensed User

    You cannot catch the home button. You can handle the Application_Background event.

    The Page_Appear event can also be useful (it will fire after the back button is clicked).
  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