Let User Crop Photo in iOS App

12,387

Solution 1

Try Below links for example project :

https://github.com/iosdeveloper/ImageCropper

https://github.com/barrettj/BJImageCropper

https://github.com/ardalahmet/SSPhotoCropperViewController

Solution 2

I made this one which combines elements from both mentioned.

https://github.com/nicholjs/BFCropInterface

Solution 3

https://github.com/loveyiren208/XWEditPhotoDemo

try this one. I only found some project without ARC. So I decided to write a new one. It is similar with many applications when you change your profile photo.

Solution 4

Try out this project: ardalahmet / SSPhotoCropperViewController

Share:
12,387
j7nn7k
Author by

j7nn7k

Hi, I'm Jannik, Entrepreneur and coder. Combining both in my current position as founder & CTO of Particulate. I studied at the University of Koblenz, Germany (MSc of Business and Computer Science). I'm interesed in technology, traveling, football and music

Updated on June 09, 2022

Comments

  • j7nn7k
    j7nn7k almost 2 years

    There are several questions (and answers) concerning cropping of images/photos within an iPhone app.

    But I couldn't find an answer covering the common task of giving the user a rectangle which can be resized with a pinch gesture to letting him resize the area to cut.

    You can find this functionality in many apps (Instagram, Twitter, etc...) most likely to cut a user photo to the right proportions. So I guess there are many people with the same problem.

    Does anyone have code or tutorials to show how this task can be done?

  • j7nn7k
    j7nn7k about 12 years
    A combination of BJImageCropper and SSPhotoCropperViewController would be awsome! But both projects are good starting points.
  • SURESH SANKE
    SURESH SANKE almost 9 years
    Awesome example ...Thanx a lot for this . I have been trying to get this from long days.
  • Ishwar Hingu
    Ishwar Hingu over 8 years
    you can add two crop ?