ATTrackingManager in SwiftUI

I want to complete the request method similar to Attrackingmanager in swiftui.

Can I complete the Attrackingmanager request in swiftui without using OC bridging?

Traditional implementation:

Demo-Bridging-Header.h #import <AppTrackingTransparency/AppTrackingTransparency.h>

Model.h if ATTrackingManager.trackingAuthorizationStatus == .notDetermined ||   ATTrackingManager.trackingAuthorizationStatus == .denied {   ATTrackingManager.requestTrackingAuthorization { status in ....   } }

How to implement the above mentioned in SwiftUI?

ATTrackingManager in SwiftUI
 
 
Q