- 绘制椭圆
@interface SunView : UIView
@end
@implementation SunView
- (void)drawRect:(CGRect)rect {
[super drawRect:rect];
UIBezierPath *path = [UIBezierPath bezierPathWithOvalInRect:self.bounds];
[[UIColor redColor] setFill];
[path fill];
}
@end