privacySensitive() modifier for SwiftUI in UIHostingController

I want to hide some sensitive information when app is visible in the list of process on iOS.

I observed that privacySensitive() modifier is not working for my app in case when view is embedded in UIHostingController.

I works correctly for pure SwiftUI app.

Can someone confirm this?, any workaround to make it working for my case.

privacySensitive() modifier for SwiftUI in UIHostingController
 
 
Q