效果:
代码:
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
CircleFlashView* view = [[CircleFlashView alloc]initWithFrame:CGRectMake(100, 100, 40, 40)];
[view setBackgroundColor:[UIColor clearColor]];
[self.view addSubview:view];
[view release];
}
下载地址:http://download.csdn.net/detail/hahahakonghee/5860961