views:

64

answers:

1

I am new to iPhone development. I am developing an application in which I need to draw dotted lines between a couple of points. I know I have to use CGContextSetLineCap(UIGraphicsGetCurrentContext(), kCGLineCapRound) and also CGContextSetLineDash(UIGraphicsGetCurrentContext(), 0, lengths, LENGTH_OF_ARRAY). But everytime I try this, I can see dashed lines instead of dotted lines. Can anyone help me on this?