私はこのコードを使用して円を描いています:
CGContextRef contextRef = UIGraphicsGetCurrentContext();
CGContextSetLineWidth(contextRef, 2.0);
CGContextSetStrokeColorWithColor(contextRef, [color CGColor]);
CGRect circlePoint = (CGRectMake(coordsFinal.x, coordsFinal.y, 50.0, 50.0));
CGContextStrokeEllipseInRect(contextRef, circlePoint);
円はUIWindowに追加されますが、UIWindowと同じ座標を維持してUIImageViewに追加したいので、座標がUIImageViewのサイズの外側にある場合、円は表示されません。UIImageView で、ビューの代わりに円をくぼませて描画します。