B-Sides / ELCImagePickerController

A clone of the UIImagePickerController using the Assets Library Framework allowing for multiple asset selection
http://www.icodeblog.com
1.65k stars 469 forks source link

Fix for sideways images from camera on iOS 4.x #17

Closed thedarkbark closed 11 years ago

thedarkbark commented 12 years ago

Previous to iOS 5, the fullScreenImage method of ALAssetRepresentation doesn't return a correctly oriented CGImage, so the UIImage has to be created with specified scale and orientation to prevent sideways and upside-down images on iOS 4 devices.