Round corners on UITableView

前端 未结 8 668
野的像风
野的像风 2020-11-28 06:13

What is the best way to get round corners on an entire UITableView as seen in Stocks and Spotlight? The grouped style doesn\'t solve the problem because the round corners sc

8条回答
  •  臣服心动
    2020-11-28 06:37

    I recently came across this problem and solved it a different way. Thought I'd share the results with everyone.

    I created a rectangular UIView with a clear, rounded-corner interior, and then laid that on top of the UITableView. You can find the full description at my programming blog.

    It works exactly the way I want.

提交回复
热议问题