How do I enable QuickType bar for my password field in swiftUI?

I'm not able to follow this documentation to get the same screen as shown. I've set the content type and keyboard type as suggested. Not sure what else I'm missing? Is there full example code for it? Thank you.

How do I enable QuickType bar for my password field in swiftUI?
 
 
Q