I'm using following code snippet to record audio on IOS 13.5.1 and getting access violation exception.
My Delphi version is 10.3 Update 3.
It works fine on Android.
Mic := TCaptureDeviceManager.Current.DefaultAudioCaptureDevice;
if (Mic <> nil) then begin
Mic.FileName := 'record.mp3';
try
Mic.StartCapture;
except
on E: Exception do
lblError.Text:=E.message;
end;
end;
Is there any workaround?