SFSafariViewController标题 [英] SFSafariViewController Title
本文介绍了SFSafariViewController标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的SFSafariViewController在Objective-C中工作正常,但无法设置单独的标题(默认URL除外).有人知道如何设置单独的标题吗?
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?
推荐答案
否,您无法设置SFSafariViewController的标题.
No, you can't set the title for SFSafariViewController.
这是一个用于显示网页默认视图的控制器.
It's a controller provided for showing the default view of your web page.
如果要在Web视图上设置标题,则可以在自己的控制器内使用WKWebView,并可以在那里提供所有自定义内容.
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.
这篇关于SFSafariViewController标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文