SwiftUI ask notification permission on start without button – Ios swift
I would like to request notification permission from the user on startup without forcing the user to click a specific button. Xcode 14.2 My application structure: import SwiftUI import UserNotifications @main struct RSApp: App { var body: some Scene {…