This code strangely doesn\'t animate the fStop:
cameraNode.camera!.wantsDepthOfField = true cameraNode.camera!.focusDistance = 2 let animation = CABasicAnimation