I want whenever safari opens a profile and they profile is either installed or cancelled by the user after that the device get back to safari , safari redirect the user to the previous page .
This is exactly what i need : i wanna have the code that detects a profile is installed and safari is now opened recently so i can then easily redirect my user to the page that want (previous page).