0
我有一個NSTextAttachment
,其中的圖像位於UILabel
中,我希望在單擊此附件時執行自定義行爲。ios7與uilabel中的nstextattachment進行自定義交互
UITextViewDelegate
提供了一種方便的方法
textView:shouldInteractWithTextAttachment:inRange:
但是,如果我用UITextView
它只能使用。
如果我使用UILabel
,是否有解決方案?
謝謝!