Constant Rate Factor (CRF) in AVFoundation

Using ffmpeg one can choose to use Constant Rate Factor (CRF) when transcoding into h264 instead of setting a specific bit rate. Is there a way to accomplish the same thing in AVFoundation when transcoding media?

Constant Rate Factor (CRF) in AVFoundation
 
 
Q