Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点击图片怎么获取 #1

Open
XGCoder opened this issue Oct 12, 2016 · 1 comment
Open

点击图片怎么获取 #1

XGCoder opened this issue Oct 12, 2016 · 1 comment

Comments

@XGCoder
Copy link

XGCoder commented Oct 12, 2016

你好: 我在文本后面用NSTextAttachment 添加了图片,想要获取图片点击事件 怎么处理 ? 谢谢

@lele8446
Copy link
Owner

lele8446 commented May 2, 2017

抱歉~迟来的回复😔,之前版本是不支持用NSTextAttachment插入图片链点的……最近重写了CJLabel,V2.1.2版本之后可通过调用+ configureLinkAttributedString: addImageName: imageSize: atIndex: linkAttributes: activeLinkAttributes: parameter: clickLinkBlock: longPressBlock: 方法获取图片点击事件

@lele8446 lele8446 closed this as completed Jan 3, 2018
@lele8446 lele8446 reopened this Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants