button.layer.cornerRadius = 0.0;
button.layer.borderWidth = 2.5;
button.layer.borderColor = [[UIColor darkGrayColor] CGColor];
을 국경을 제거하지만 제거하거나 버튼의 테두리를 삭제하는 방법을 알 필요가?
감사
button.layer.cornerRadius = 0.0;
button.layer.borderWidth = 2.5;
button.layer.borderColor = [[UIColor darkGrayColor] CGColor];
을 국경을 제거하지만 제거하거나 버튼의 테두리를 삭제하는 방법을 알 필요가?
감사
button.layer.borderColor = [UIColor colorWithRed:0.3 green:0.6 blue:0.9 alpha:0.1];
// set 'alpha' to something less than 1. -----^^^
이보십시오!
이 작동하지 않는 UILabel의, 나는 변화하는 주변의 다음 (이 모노 C#으로하지만 당신은 아주 쉽게 번역 할 수 있습니다) (고려 만 1 계층을 추가)
label.Layer.Sublayers[0].RemoveFromSuperLayer();
일을하려고 사용 테두리 알파 값은 투명 해집니다. – StackFlowed