2

i have a strange problem that when i make rounded corner of cell, the round corner is thinner than top and bottom i just make this :

        cell.layer.borderWidth = 0.5
        cell.layer.cornerRadius = 9

        cell.layer.borderColor = redCellColor.CGColor

here is an example

rmaddy
  • 314,917
  • 42
  • 532
  • 579
  • i have same issue , any help ??? – Antwan May 18 '15 at 10:03
  • You should try use BezierPath and something like this http://stackoverflow.com/a/14071921/790842 – iphonic May 18 '15 at 10:06
  • possible duplicate of [How to get rid of thin border in a UIView rounded with layer.cornerRadius in iOS 7.1.1?](http://stackoverflow.com/questions/23891033/how-to-get-rid-of-thin-border-in-a-uiview-rounded-with-layer-cornerradius-in-ios) – Vizllx May 18 '15 at 10:11

1 Answers1

0

Use drawRect instead of applying corner radius.

Here's a similar problem, with solution : How to get rid of thin border in a UIView rounded with layer.cornerRadius in iOS 7.1.1?

Community
  • 1
  • 1