UILabel 텍스트의 픽셀 너비 취소 선이있는 UILabel을 그려야합니다. 따라서 UILabel을 서브 클래 싱하고 다음과 같이 구현했습니다. @implementation UIStrikedLabel - (void)drawTextInRect:(CGRect)rect{ [super drawTextInRect:rect]; CGContextRef context = UIGraphicsGetCurrentContext(); CGContextFillRect(context,CGRectMake(0,rect.size.height/2,rect.size.width,1)); } @end UILabel은 전체 레이블만큼 길지만 텍스트는 더 짧을 수 있습니다. 선을 적절하게 그릴 수 있도록 텍스트 길이를 픽셀 단위로 결정하는 방법..