Click here to Skip to main content
15,667,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Using Objective C, I'm creating an app that initially loads Safari. The landing page is something like When a user click on a button, in Safari, it redirects them to a new page something called,

Is there a way to grab the url from the url address bar in Safari using the SFSafariViewController? I want to be able to compare the two web pages and by doing a string comparison.

What I have tried:

I've tried looking for a delegate in SFSafariViewController or something else like NSMutable or NSURL to grab the url.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900