Coocoo4Cocoa
Coocoo4Cocoa

Reputation: 50876

Drawing the blue "unread dot" on the iPhone Mail app

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.

Upvotes: 2

Views: 2245

Answers (2)

Simon
Simon

Reputation: 34870

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

Upvotes: 0

Ben Gottlieb
Ben Gottlieb

Reputation: 85532

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.

Upvotes: 9

Related Questions