iOS Accessibility: Custom voice over text for bundle display name

前端 未结 2 1406
名媛妹妹
名媛妹妹 2021-01-03 18:54

iOS voice over does not correctly read out my companies name. For example it reads out \"dog\" instead of \"D.O.G.\" (not my real company name but you get the idea)

2条回答
  •  萌比男神i
    2021-01-03 19:41

    I don't think you can provide an alternate bundle name string for VoiceOver. I was however able to find a hack that could work in your specific scenario:

    VoiceOver seems to interpret various control characters differently. \u7f is one of the characters that split the word for VoiceOver and yet do not break display in launchpad. Therefore, defining bundle name as:

    CFBundleDisplayName="D\U007fO\U007fG";
    

    in InfoPlist.strings seems to achieve what you need.

提交回复
热议问题