Skip to content

swift4中,出现点击区域不正确问题 #31

@niuxinhuai

Description

@niuxinhuai

eg:
let label = UILabel()
let labelStr = """
今天是个好日子
practice; custom; tradition; convention
"""
label.attributedText = NSMutableAttributedString.init(string: labelStr)
label.yb_addAttributeTapAction(with:["practice","custom","tradition","convention"], delegate: self)
r:
在代理方法中,打印,当我点击"tradition"的时候,打印输出显示string是convention的问题,请问我应该如何解决这个问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions