Xamarin.iOS UIAccessibility.PostNotification

Palmersjö, Ludvig 1 Reputation point
2021-06-22T14:17:19.777+00:00

I cant get UIAccessibility.PostNotification to work.
The following code should read up the text
UIAccessibility.PostNotification(UIAccessibilityPostNotification.Announcement, new NSString(@"Item was saved"));
It says nothing with VoiceOver on. Tried putting this code on ViewWillAppear and on some button click events but nothing works.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
{count} votes