Programatically I have fetched image from my camera in my app. It has been fetched nicely but when I shift to another view and dismiss that view at that time my image automa
The most simplest way to overcome this problem is by scaling the image inside didFinishPickingImage delegate. You can use the following code to scale by importing a class "UIImage+ImageScaling.h".
theImage =[UIImage imageWithImage:image scaledToSizeWithSameAspectRatio:CGSizeMake(400, 300)]; // for iphone.