Post

Replies

Boosts

Views

Activity

Reply to Calling `requestAuthorization(options:completionHandler:)` in Swift 6 leads to `EXC_BAD_INSTRUCTION` crash.
I ran into a very similar issue calling the add(completion:) method from Swift 6 code: UNUserNotificationCenter.current().add(request) { error in ... } crashes (even from the main actor), but: Task { try await UNUserNotificationCenter.current().add(request) } does not.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’25