component has been renamed
Orientation enum renamed to AGPhotoGalleryOrientation
setOrientation method declaration