XCode 26.4 日本語化計画
元のドキュメント: developer.apple.com/documentation/swiftui/view/speechalwaysincludespunctuation(_:)
VoiceOver がテキストビュー内のすべての句読点を常に読み上げるべきかどうかを設定します。
value
true に設定すると、VoiceOver がテキスト内のすべての句読点を読み上げるかどうかを設定するブール値。デフォルト値は true です。
この修飾子を使用して、システムがテキスト内の句読点を読み上げるかどうかを制御します。句読点が重要なコードやその他のテキスト、または VoiceOver に提供したテキストをそのまま読み上げさせたい場合に使用できます。たとえば、以下のテキストの場合:
Text("All the world's a stage, " +
"And all the men and women merely players;")
.speechAlwaysIncludesPunctuation()VoiceOver は “All the world apostrophe s a stage comma and all the men and women merely players semicolon” と読み上げるでしょう。
デフォルトでは、VoiceOver は周囲の文脈に基づいて句読点を音声化します。
func speechAdjustedPitch(Double) -> some View
音声テキストのピッチを上げたり下げたりします。
func speechAnnouncementsQueued(Bool) -> some View
進行中のスピーチを中断するのではなく、保留中のアナウンスを既存のスピーチの後ろのキューに入れるかどうかを制御します。
func speechSpellsOutCharacters(Bool) -> some View
VoiceOver がテキストビューの内容を文字ごとに読み上げるかどうかを設定します。