How does one ask for calendar event permission from within a SwiftUI View?

Anybody know?

Answered by SpaceMan in 373714022

Solved. I just created a funciton within a .swift file which asked for permisson and then called it from the App delegate.

Accepted Answer

Solved. I just created a funciton within a .swift file which asked for permisson and then called it from the App delegate.

How does one ask for calendar event permission from within a SwiftUI View?
 
 
Q