SafariServices(简介)
2016-01-21 14:57
309 查看
当我们想在app中使用网页时以前有两种方案,一种是跳到Safari App;另一种就是自己搭建VC使用WKWebView或UIWebView显示网页。
现在有了第三种方案,使用SafariServices库,它能帮助我们在App中快速继承Safari的界面而无需跳转到Safari App。
SFContentBlockerManager 通知Safari加载过滤规则。
SSReadingList 添加URL链接到Safari浏览器的阅读列表。
UIViewController
SFSafariViewController 浏览Web的界面。
GitHub:https://github.com/937447974/Blog
现在有了第三种方案,使用SafariServices库,它能帮助我们在App中快速继承Safari的界面而无需跳转到Safari App。
Classes
NSObjectSFContentBlockerManager 通知Safari加载过滤规则。
SSReadingList 添加URL链接到Safari浏览器的阅读列表。
UIViewController
SFSafariViewController 浏览Web的界面。
Protocols
SFSafariViewControllerDelegate 监听SFSafariViewController生命周期和添加共享按钮。Appendix
Sample Code
SwiftRelated Documentation
Safari Services Framework ReferenceRevision History
时间 | 描述 |
---|---|
2016-01-21 | 博文完成 |
Copyright
CSDN:http://blog.csdn.net/y550918116jGitHub:https://github.com/937447974/Blog
相关文章推荐
- ReactJS组件间沟通的一些方法
- [Unity3D]UGUI 新手引导遮罩控件
- java apache commons HttpClient发送get和post请求的学习整理
- 浅谈Spring AOP
- 总结
- android 刷新媒体库(版本判断)
- ionic cordova 集成 crosswalk
- PNG图像RGBA转索引色
- Mybatis学习笔记(1)之了解MyBatis
- Atitit.软件开发的非功能性需求attilax 总结At
- 导航栏左右键的添加
- 泛型指针
- HttpClient使用详解
- .NET平台开发Mongo基础知识
- Atitit.软件开发的非功能性需求attilax 总结At
- mysql索引对单表查询的影响
- 教你如何用xcode生成api文档 1
- SSZipArchive使用详解
- 我写的第一行python
- Batch语言整理