How to highlight text like in the image?

前端 未结 4 560

How to highlight the text \"cell phone\" in the image?

\"enter

Updated

4条回答
  •  余生分开走
    2021-02-07 16:36

    for this you have to use core Text & for highlight you have to draw the text in drawRect method i.e. change in background color to yellow & increase the font size of text

    tutorial on coreText

提交回复
热议问题