title: Opening apps and closing Safari tabs on iOS
body: <p>We have an App that accepts donations and per <a href="https://developer.apple.com/app-store/review/guidelines/" rel="nofollow noreferrer">Apple's guidelines (item 21.2)</a> we can't do this in-app, it must open a webpage in Safari to perform the donation.  We've got that bit working fine, and we can actually automatically invoke the App post donation and put the user right back where they left off.  The trouble is that the Tab in Safari persists when the user returns to Safari later.</p>
  
  <p>Is there a way to open an app from a webpage while simultaneously closing said webpage in Safari?</p>