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

2019-05-25 04:52发布

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

enter image description here

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

2条回答
劳资没心,怎么记你
2楼-- · 2019-05-25 05:22

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

查看更多
爷的心禁止访问
3楼-- · 2019-05-25 05:31

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.

查看更多
登录 后发表回答