Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将 UITextView 的可编辑属性设置为是,因为我需要 UITextView 可编辑,那么在这种情况下怎么可能点击 UITextView 中的链接?有没有办法解决我的问题
UITextView您必须在实现文件中设置检测类型,例如
UITextView
textview.editable = NO; textview.dataDetectorTypes = UIDataDetectorTypeAll;