CGImageDestinationSetProperties(destination, fileProperties as CFDictionary?)
for image in images {
CGImageDestinationAddImage(destination, image, gifProperties as CFDictionary?)
CGImageDestinationSetProperties(destination, fileProperties as CFDictionary?)
for image in images {
CGImageDestinationAddImage(destination, image, gifProperties as CFDictionary?)