Using the code
Task {
do {
try await center.requestAuthorization(for: .individual)
} catch {
print("Failed to enroll Aniyah with error: \(error)")
}
}
and follow this video the configuration your Xcode project
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: