How to Draw a single point line in iOS

前端 未结 5 692
北恋
北恋 2020-12-01 19:00

I was wondering what is the best way to draw a single point line? My goal is to draw this line in a tableViewCell to make it look just like the native cell separator. I don\

5条回答
  •  情歌与酒
    2020-12-01 19:37

    You have to take into account the scaling due to retina and that you are not referring to on screen pixels. See Core Graphics Points vs. Pixels.

提交回复
热议问题