AVFoundation frame rate issue

To record a video at 24 FPS using AVFoundation, I simply set


self.videoDevice?.activeVideoMaxFrameDuration = CMTimeMake(value: 1, timescale: 24)                  
self.videoDevice?.activeVideoMinFrameDuration = CMTimeMake(value: 1, timescale: 24)


The technique fails if one wishes to record at 23.976 FPS


self.videoDevice?.activeVideoMaxFrameDuration = CMTimeMake(value: 1000, timescale: 23976)                  
self.videoDevice?.activeVideoMinFrameDuration = CMTimeMake(value: 1000, timescale: 23976)


I wish to know if there is a way to record at arbitrary FPS, may be through a setting in AVAssetWriter to specify dropping frames and achieving 23.976 FPS?