Is there a way to create custom UIDataDetectorTypes?

前端 未结 5 1736
忘了有多久
忘了有多久 2020-12-20 07:03

What I am trying to do is create tooltip functionality so that certain words in my instructional app can be tapped and the definition pops up. For the popup part I plan on

5条回答
  •  一向
    一向 (楼主)
    2020-12-20 07:12

    UIWebViews could be a possible approach but on scrolling you should consider that the whole text should be parsed to detect the words.You could use HTMl tags to make them blue and provide the links.But how could i then assign a custom behavior then opening in safari?

提交回复
热议问题