Search Unity

iOS App Switcher state.

Discussion in 'iOS and tvOS' started by MackNugget, Jan 17, 2019.

  1. MackNugget

    MackNugget

    Joined:
    Dec 4, 2012
    Posts:
    40
    Does anyone know what should be called when the App Switcher state is brought up on an iOS device without a home button?

    I have tried OnApplicationPause() and OnApplicationFocus() but neither seem to provide me the result I'm looking for.

    Should I use both?

    This is specifically with devices with no home button.

    In case you don't know what the App Switcher state is see attached image.

    Thanks!
     

    Attached Files:

  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    I think that OnApplicationPause should be called
     
  3. MackNugget

    MackNugget

    Joined:
    Dec 4, 2012
    Posts:
    40
    Is there any down side for using both?
     
  4. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    I am not entirely sure what OnApplicationFocus does, so i cannot really answer.