accessibilitySpeechIPANotation is useful for indicating how foreign words are pronounced. It really annoys me to hear the word paella constantly mispronounced 😁. You could also specify language, but this way, VoiceOver won't change its voice.

let recipeNameLabel = UILabel()
let attributedLabel = NSAttributedString(
string: "Paella",
attributes: [.accessibilitySpeechIPANotation: "pɑːˈeɪə"]
)
recipeNameLabel.accessibilityAttributedLabel = attributedLabel