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

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift