How to fill uncompleted circle drawn iOS

Solution:

If you want to fill the custom draw you had did in iOS follow the below steps.For example if you drawn an annotation symbol using arc function then follow the steps to achieve that.

Code:
        CGContextSetFillColorWithColor(ctx, UIColor.black.CGColor);
        CGContextFillPath(ctx);

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift