/** @since Available in iOS 7.0 and later. */
 public CGImagePropertyOrientation getOrientation() {
   if (has(Keys.DestinationOrientation())) {
     CFNumber val = get(Keys.DestinationOrientation(), CFNumber.class);
     return CGImagePropertyOrientation.valueOf(val.longValue());
   }
   return null;
 }
 /** @since Available in iOS 7.0 and later. */
 public CGImageDestinationCopySourceOptions setOrientation(
     CGImagePropertyOrientation orientation) {
   set(Keys.DestinationOrientation(), CFNumber.valueOf(orientation.value()));
   return this;
 }