Search Unity

Making application quit when in background

Discussion in 'iOS and tvOS' started by eco_bach, Mar 24, 2017.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Unless I am mistaken, the default behaviour for apps in iOS is to remain in a 'launched'' state when in the background. ie after opening the app and hitting the device Home button or switching to another app.

    Is there a way to make the application quit when it is put in the background?
     
  2. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305
    have you looked in player settings ?
    (never used it myself)

    since application lifecycle on iOS is completely - and more efficiently - managed by os, there's in general no need for user, or application itself to interfere with it;
    from application point of view background state generally translates to 'I don't care' unless there's some background processing needed which but seems the exact opposite of what you want
     

    Attached Files:

  3. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Thanks
    I prefer to have control over what happens when the application is in background. I think Player Settings has what I need.