1
votes

I have set this two important variable for clickable link, but when I click the content link in the UITextView, Safari doesn't open.

Anybody know what the problem is?

@property (strong, nonatomic) UITextView *attachmentDescription;

{
    self.attachmentDescription.editable = NO;
    self.attachmentDescription.dataDetectorTypes =UIDataDetectorTypeLink;
}
are you taken textview in xib? - Balu
How did you create that property? Drag and drop from the interface editor? - Ege Akpinar
once check xib ,IBOutlet connected or not? - Balu