CLHaloLabeliOS 标签
CLHaloLabel 是拥有光晕扫过效果的 Label。
使用方法:
#import "CLHaloLabel.h" self.haloLabel.haloDuration = 5; self.haloLabel.haloWidth = 0.8; CLHaloLabel *lable = [[CLHaloLabel alloc] initWithFrame:CGRectMake(20, 200, 100, 30)]; lable.text = @"从代码创建"; lable.textColor = [UIColor greenColor]; lable.haloColor = [UIColor redColor]; [self.view addSubview:lable];
评论