.privacysensitive() only available in SwiftUI?

Hi,

I'm trying to implement the new privacysensitive () function to a UILabel but can't find the way.

Is it only available in SwifUI or is there a way to get it?

/// ?? I know it's ridiculous but just try
cardNumber_Lbl.privacysensitive(true)

/// ?? I know it's ridiculous but just try
cardNumber_Lbl = .privacysensitive()

/// ?? I know it's ridiculous but just try
cardNumber_Lbl.text = .privacysensitive() ? "" : "1234 5678 9101 1121"

.privacysensitive() only available in SwiftUI?
 
 
Q