RCAttributedLabelDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | RCAttributedLabel.h |
– attributedLabel:didSelectLinkWithURL:
点击URL的回调
- (void)attributedLabel:(RCAttributedLabel *)label didSelectLinkWithURL:(NSURL *)url
Parameters
label |
当前Label |
---|---|
url |
点击的URL |
Discussion
点击URL的回调
Declared In
RCAttributedLabel.h
– attributedLabel:didSelectLinkWithPhoneNumber:
点击电话号码的回调
- (void)attributedLabel:(RCAttributedLabel *)label didSelectLinkWithPhoneNumber:(NSString *)phoneNumber
Parameters
label |
当前Label |
---|---|
phoneNumber |
点击的URL |
Discussion
点击电话号码的回调
Declared In
RCAttributedLabel.h
– attributedLabel:didTapLabel:
点击Label的回调
- (void)attributedLabel:(RCAttributedLabel *)label didTapLabel:(NSString *)content
Parameters
label |
当前Label |
---|---|
content |
点击的内容 |
Discussion
点击Label的回调
Declared In
RCAttributedLabel.h