The following data is used to work in Swift 1.2:
var recordSettings = [ AVFormatIDKey: kAudioFormatMPEG4AAC, AVEncoderAudioQualityKey : AVAudioQuality.Max.rawValue, AVEncoderBitRateKey : 320000, AVNumberOfChannelsKey: 2, AVSampleRateKey : 44100.0]
Now it gives an error:
"A type expression is ambiguous without additional context."
ios swift2 xcode7 avfoundation
lernerbot Sep 19 '15 at 2:01 2015-09-19 02:01
source share