Reputation: 685
At present, I am working on core graphics based iPhone application.
I have tried to crop center of the image but i can't do that.
Here,I have an images named (fig a) as shown below, and i need to crop it on center of this image.
So, the resultant image should look like (fig b).
How can i do this?.
fig a :
fig b :
Upvotes: 1
Views: 645
Reputation: 27225
Answer :
UIImage
using UIBezierPath
. You can customize it for yourself to get what you want.Upvotes: 2