Create custom UIImagePickerController to set camera aspect ratio

Can have 1000 streams and image cropping re-addressing on iOS; many of which contain responses requiring it to work just like Instagram (I assume they never open Instagram). So instead of just using the word Instagram, let me describe the functionality of what I'm trying to do:

I want to create a CustomUIImagePickerController so that:

  • CAMERA: I can either set the exact size of the image that the camera takes; or on the very next screen (i.e. image reuse / use) have their own rectangle that the user can move to crop the image just taken.

  • GALLERY: (same as above :) sets the size of the frame that the user will use to crop the image.

So far on SO, one answer is close: the answer points to https://github.com/gekitz/GKImagePicker .

But the crucial problem with this project is that it only works with the gallery . It doesn't work with the camera .

So, if you look at the Instagram app for iOS-7, it has complete control over the shooting experience. How should I do it? I don't want my users to go through all the standard iOS UIImagePickerController experience and then have them go through their own cropper to load the image. It's just a scary user interface. How many steps or screens do you need to shoot or upload? Right? I know I cannot be the only developer who would like to solve this problem. I don't mind finding a solution and then sharing it with the world. But now I don't even know where to start?

Does anyone have any idea where I can start?

BTW: The following answers are not:

+3


source to share





All Articles