【发布时间】:2018-05-11 18:22:40
【问题描述】:
NSString *str = @"We’ll notify you before we make changes to these
terms and give you the opportunity to review and comment on the revised
terms before continuing to use. If you have any question just email
me.";
NSMutableAttributedString *aStr = [[NSMutableAttributedString
alloc]initWithString:str attributes:nil];
[str rangeOfString:@"email"]];
[self.textView setAttributedText:aStr];
这是我想在电子邮件中创建链接的文本。
【问题讨论】:
标签: ios objective-c