AliSoftware / AliSoftware/OHAttributedLabel
Setting text color on links doesn't work in 3.5.3
Đang mở
- Ngôn ngữ chính
- Objective-C
- Star
- 1.5k
- Fork
- 341
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Setting the text color on links in 3.4.3 works as expected, so this must be a new bug.
Here's the code I am using.
```
NSMutableAttributedString* addressStr = /*...*/;
NSRange someRange = /* range */;
[addressStr setLink:[NSURL URLWithString:@"location://store"] range:someRange];
[addressStr setTextColor:[UIColor clearColor] range:someRange];
addressStr.userInteractionEnabled = NO;
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.