Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
Binary file modified Neuro App/.DS_Store
Binary file not shown.
6 changes: 4 additions & 2 deletions Neuro App/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,17 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
}
}

AVCaptureDevice.requestAccess(for: .video) { granted in


AVCaptureDevice.requestAccess(for: .audio) { granted in
if granted {
// Access granted
} else {
// Access denied
}
}

AVCaptureDevice.requestAccess(for: .audio) { granted in
AVCaptureDevice.requestAccess(for: .video) { granted in
if granted {
// Access granted
} else {
Expand Down
Loading