Is there a way to create a circled UIView with two different colors, like this:
The circle should be divided as you can see on the image (border).
Is there a way to create a circled UIView with two different colors, like this:
The circle should be divided as you can see on the image (border).
Subclass
UIView
and implement thedrawRect:
method.Here is code to draw a circle to get you started:
also, take a look at how to draw part of a circle