UIImage: How to get website tab icon

后端 未结 3 1442
一整个雨季
一整个雨季 2021-02-09 22:59

I\'m developing an RSS Reader and I need to get the favicon for each feed. For example, if my feed is google.com, I\'d like to get the \"G\" icon and put it into a UIImage or so

3条回答
  •  太阳男子
    2021-02-09 23:49

    If you save the image to your desktop,

    1) drag image into xcode 2)Go to interface builder 3)Go to the identity inspector after selecting the UIImage 4)Under the image drop down box, select the name of your image.

    Hope that helps!

提交回复
热议问题