Scale the CGPath in objective C

 Solution:


The below code is used to scale the path in objective C.


    CGAffineTransform transform = CGAffineTransformMakeScale(1,1);

    CGPathRef intermediatePath = CGPathCreateCopyByTransformingPath(path, &transform);


Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift