Closed ahmadmssm closed 5 years ago
Hello,
This is a similar issue to #4 I think. It should be weak
as a safety check, but you're not supposed to get this error if you implement the VoiceOverlayController correctly on your end (see #4). Also feel free to send a PR for that, will gladly merge!
@spinach thanks for that, it works. One more thing, could you add the following function to allow dismissing the voice overlay view ?!
public func dismiss() {
self.inputViewController?.dismiss(animated: true, completion: nil)
}
In
VoiceOverlayController
-> showRecordingScreen -> line number 112, app crash due to trying to set a de-allocated object, i fixed it by replacingun-owned
withweak
and making self optional -. self?, So please fix it.