Open Safari in the last tab that was opened

Is it possible to open Safari from the code that opens Safari with the last tab open? I searched, and I can only find how to open Safari with a URL (not what I want), or open it on a blank page (also not what I want). Is it possible to open Safari in the last state?

eg. someone is on google on safari. Then they hide the application and launch my application. I would like my application to open Safari and show Google - I do not want to use the delegate package that was transferred during activation, as the website may be expired or dynamic, so I do not want to reload the page.

thanks

+5
source share

Source: https://habr.com/ru/post/1214681/


All Articles