Drawing the blue “unread dot” on the iPhone Mail app

▼魔方 西西 提交于 2019-12-08 03:02:34

问题


Does anyone have an example of how to draw the blue "unread dot" used in Apple's Mail App? This one in specific:

Drawing an ellipse is straight forward with Quartz2d, but the subtle use of shadows+gradients make this look really 3d.


回答1:


I think the blue dot in mail is actually an image; I would imagine that blitting an image would be faster than drawing a gradient.




回答2:


If you decide to go with a resource there is an app called UIKit-Artwork-Extractor that allows you to rip all the resources from all the IOS apps you have installed

https://github.com/0xced/UIKit-Artwork-Extractor



来源:https://stackoverflow.com/questions/875035/drawing-the-blue-unread-dot-on-the-iphone-mail-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!