You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a problem if my text break lines too much like this
" M
M
M
M
M
M ...See more"
So I can not detect right link
This my code
`
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
if gestureRecognizer.view is TTTAttributedLabel {
let label = gestureRecognizer.view as! TTTAttributedLabel
let point = touch.location(in: label)
let link = label.link(at: point)
return false
}
return true
}
`
link wrong or nil
The text was updated successfully, but these errors were encountered:
Hi,
I have a problem if my text break lines too much like this
" M
M
M
M
M
M ...See more"
So I can not detect right link
This my code
`
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
if gestureRecognizer.view is TTTAttributedLabel {
let label = gestureRecognizer.view as! TTTAttributedLabel
let point = touch.location(in: label)
let link = label.link(at: point)
return false
}
`
link wrong or nil
The text was updated successfully, but these errors were encountered: