View Single Post
  #1 (permalink)  
Old April 25th, 2012, 03:47 AM
Em_Ga Em_Ga is offline
Registered User
Points: 15, Level: 1
Points: 15, Level: 1 Points: 15, Level: 1 Points: 15, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 13: rect undefined

In .m Lines
"//---get the cropping rectangle applied to the image---
CGRect rect = [[info valueForKey:UIImagePickerControllerCropRect] CGRectValue];"

I am getting an undefined for "rect" above. When I downloaded and ran the sample code I received the same error message.

Also, how do I add pics to the simulator so the simulator can display actual pictures when this runs?

Thanks for the help.