You may try to obtain the sample rate by :
let input = avAudioEngine.inputNode
let sampleRate = input.inputFormat(forBus: 0).sampleRate // the default sample rate from mic is 48000
let channelCount = input.inputFormat(forBus: 0).channelCount // 1
then you can set your av audio format as following:
let avAudioFormat = AVAudioFormat(commonFormat: .pcmFormatFloat32, sampleRate: sampleRate, channels: channelCount, interleaved: false)
Post
Replies
Boosts
Views
Activity
The answer is no.
In "App Store Connect", click into one of your submitted app, under "General" - "App Information", on the page you can see the app information. In the section "Bundle ID", when you move your cursor to the question mark, you can see the popped hint, which says:
"The bundle ID must match the one you used in Xcode. It can't be changed after you upload your first build."
So if you'd like to change the bundle ID to a new domain name, you have to submit a completely new app.