0
我有一个NSTextAttachment
,其中的图像位于UILabel
中,我希望在单击此附件时执行自定义行为。ios7与uilabel中的nstextattachment进行自定义交互
UITextViewDelegate
提供了一种方便的方法
textView:shouldInteractWithTextAttachment:inRange:
但是,如果我用UITextView
它只能使用。
如果我使用UILabel
,是否有解决方案?
谢谢!