我有与此处发布的“Paul”完全相同的问题:无法通过语音备忘录应用程序中的“打开方式:”导出音频文件- 尚未发布有关此主题的答案。
基本上我想要做的很简单:在 iOS 上录制语音备忘录后,我选择“打开方式”,然后从显示的弹出窗口中选择我的应用程序。
我已经尝试了所有我能想到的方法,并尝试了 LSItemContentTypes,但没有成功。
不幸的是,我没有足够的声誉来评论上面的现有帖子,而且我非常渴望找到解决方案。任何帮助都非常感谢,即使只是知道它是否可行。
谢谢!
我希望有人能在这里帮助我。我正在尝试进行基本的录音设置,但 AudioKit 正在崩溃,我确定这是我的错,我没有做正确的事情。这是我的设置。在我中,viewDidLoad我像这样配置 AudioKit:
// Session settings
do {
AKSettings.bufferLength = .short
try AKSettings.setSession(category: .playAndRecord, with: .allowBluetoothA2DP)
} catch {
AKLog("Could not set session category.")
}
AKSettings.defaultToSpeaker = true
// Setup the microphone
micMixer = AKMixer(mic)
micBooster = AKBooster(micMixer)
// Load the test player
let path = Bundle.main.path(forResource: "audio1", ofType: ".wav")
let url = URL(fileURLWithPath: path!)
testPlayer = AKPlayer(url: url)
testPlayer?.isLooping = true
// Setup the test mixer
testMixer = AKMixer(testPlayer)
// Pass the output from the player …Run Code Online (Sandbox Code Playgroud)