Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人有一个例子来说明如何绘制苹果邮件应用程序中使用的蓝色“未读点”?这是一个具体的:
用 Quartz2d 画一个椭圆很简单,但是阴影+渐变的巧妙使用使这个看起来真的是 3d 的。
我认为邮件中的蓝点实际上是一个图像;我想对图像进行位图处理会比绘制渐变更快。
如果您决定使用资源,则有一个名为 UIKit-Artwork-Extractor 的应用程序,可让您从已安装的所有 IOS 应用程序中提取所有资源
https://github.com/0xced/UIKit-Artwork-Extractor