iOS : How to activate image stabilization on an AVCaptureSession?

I'd like to capture stabilized images in my app but I haven't found the required configuration to acheive it. This is my code : let frontCamera = cameraWithPosition(AVCaptureDevicePosition.Front)...