Swift app that uses AVFoundation to snap still images