给特定内容增长 下划线 web
UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(20, 20, 280, 200)];
textView.dataDetectorTypes = UIDataDetectorTypeAll;
textView.font = [UIFont systemFontOfSize:20];
textView.editable = NO;//必须有,不然没有有下划线
textView.text = @"My phone number is 15852509846 \r\n"
"My personal web site www.xxxxxx.com.\r\n"
"My E-mail address is XXXXX@gmail.com.\r\n"
"I was born in 1900-01-01.";
[self.view addSubview:textView];
[textView release];
it