Verify external URL from native app

Maybe this has been discussed many times before, but couldn’t find the right information . I am trying to verify if a link inside my ios native application redirects to the correct link in safari as expected. How can I do this?