title: How does Booking.com close their app programmatically?
body: <p>I just saw this trick the Booking.com app does to let you change the application's language: </p>
  
  <p><a href="https://i.stack.imgur.com/9JmjJ.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/9JmjJ.gif" alt="booking.com app"></a></p>
  
  <p>I'm not aware of any technique to <em>programmatically</em> close an iOS app (and it's also forbidden by Apple's guidelines, but let's "pretend" that my boss wants me to do this). </p>
  
  <p>How do they do it? I've tried <code>exit(0)</code> but it immediately quit like when the process crashes, while their app animates to the home screen normally. Is there maybe a private URL scheme that opens the home screen?</p>