You can try like this.
CGAffineTransform transform = CGAffineTransformMakeScale(give what scale you want,give what scale you want)
Hope it helps.
Question
I want to set the custom coordinate to crop video.But i don't know how to set the x and y value in this or how to pass values in the function
CGAffineTransformMake(CGFloat a, CGFloat b, CGFloat c, CGFloat d,
CGFloat tx, CGFloat ty)
I searched everywhere but everyone is saying that it creates a matrix in the background,but i have nothing to do with the matrix, i just want to set the values of X and Y.
Can anyone please suggest me the correct explanation with example.It would be a great help for me.
Thanks in Advance
La solution
You can try like this.
CGAffineTransform transform = CGAffineTransformMakeScale(give what scale you want,give what scale you want)
Hope it helps.