File: SemanticScreenReader\SemanticScreenReader.ios.cs | Web Access |
Project: src\src\Essentials\src\Essentials.csproj (Microsoft.Maui.Essentials) |
using Foundation; using ObjCRuntime; using UIKit; namespace Microsoft.Maui.Accessibility { partial class SemanticScreenReaderImplementation : ISemanticScreenReader { public void Announce(string text) { if (!UIAccessibility.IsVoiceOverRunning) return; UIAccessibility.PostNotification(UIAccessibilityPostNotification.Announcement, new NSString(text)); } } } |