mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Make links clickable in chat bubbles
This commit is contained in:
parent
308f47ad97
commit
cfecd42524
2 changed files with 8 additions and 3 deletions
|
|
@ -66,8 +66,10 @@
|
|||
self.vrView.layer.cornerRadius = 30.0f;
|
||||
self.vrView.layer.masksToBounds = YES;
|
||||
[self.innerView addGestureRecognizer:[[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(onPopupMenuPressed)]];
|
||||
self.messageText.userInteractionEnabled = false;
|
||||
|
||||
self.messageText.userInteractionEnabled = true;
|
||||
self.messageText.editable = false;
|
||||
self.messageText.selectable = true;
|
||||
self.messageText.dataDetectorTypes = UIDataDetectorTypeLink;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,7 +47,10 @@
|
|||
|
||||
|
||||
[_innerView addGestureRecognizer:[[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(onPopupMenuPressed)]];
|
||||
_messageText.userInteractionEnabled = false;
|
||||
_messageText.userInteractionEnabled = true;
|
||||
_messageText.editable = false;
|
||||
_messageText.selectable = true;
|
||||
_messageText.dataDetectorTypes = UIDataDetectorTypeLink;
|
||||
|
||||
|
||||
self.contentView.userInteractionEnabled = NO;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue