Chapter 14: Rect defined but not used?
In Chapter 14 in the example for accessing the Photo Library a variable called "rect" is defined but subsequently not used:
CGRect rect =
[[info valueForKey:UIImagePickerControllerCropRect]
CGRectValue];
Should there not be another line of code in this else branch where the rect is defined? In the section where the image is displayed, something like:
imageView.bounds = rect;
Just wondering...
|