We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70e5dce commit 9898b38Copy full SHA for 9898b38
1 file changed
macOS/APIExample/Examples/Advanced/FaceCapture/FaceCapture.swift
@@ -216,7 +216,9 @@ class FaceCaptureMain: BaseViewController {
216
Util.configPrivatization(agoraKit: agoraKit)
217
agoraKit.enableVideo()
218
if (KeyCenter.FaceCaptureLicense ?? "").isEmpty {
219
- showAlert(message: "Please contact Agora customer service to obtain a face capture certificate".localized)
+ DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
220
+ self.showAlert(message: "Please contact Agora customer service to obtain a face capture certificate".localized)
221
+ }
222
} else {
223
// enable face capture
224
agoraKit.enableExtension(withVendor: "agora_video_filters_face_capture",
0 commit comments