Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SFSafariViewController Title

I have SFSafariViewController working fine in Objective-C, but have not been able to set a separate title (other than the default URL). Does anyone know how to set a separate title?

like image 528
grwilde Avatar asked Oct 30 '22 21:10

grwilde


1 Answers

No, you can't set the title for SFSafariViewController.

It's a controller provided for showing the default view of your web page.

If you want to set the title on your web view then you can use WKWebView inside your own controller and can provide all the customisation there.

like image 200
Sachin Nautiyal Avatar answered Nov 02 '22 23:11

Sachin Nautiyal