简体   繁体   English

如何从URL获取“ apple-touch-icon”?

[英]How to get 'apple-touch-icon from URL?

I am developing an iOS app in which user can bookmark the websites and later they can view it by tapping Apple-Touch-Icon (Its completely similar to iOS safari app). 我正在开发一个iOS应用程序,用户可以在该应用程序中为网站添加书签,然后他们可以通过点击Apple-Touch-Icon来查看它(它与iOS Safari应用程序完全相似)。

Here my question is how to get/parse the Apple-Touch-Icon from a URL? 在这里,我的问题是如何从URL获取/解析Apple-Touch-Icon there are so many questions and answers to get favicon but I don't see any answer/tutorial to get Apple-Touch-Icon . 有很多问题和答案来获得favicon但我没有任何答案/教程来获得Apple-Touch-Icon

Can you someone please help me out on this? 有人可以帮我吗?

Thanks in advance! 提前致谢!

There is a framework for iOS and MacOS called FavIcon that will make it work: 有一个名为FavIcon的iOS和MacOS框架,它将使它起作用:

https://github.com/leonbreedt/FavIcon https://github.com/leonbreedt/FavIcon

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM