You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android is possible, but atm cant see a way of doing it on iOS
Android
Add the following method into the platform view to prevent the default announcement -
publicoverridevoidSendAccessibilityEventUnchecked(AccessibilityEvent?e){//! important - used to override the default On/Off announcement when it is toggled. Now handled manually in the `SetIsToggled` methodif(e?.EventType.Equals(EventTypes.ViewClicked)??false){return;}base.SendAccessibilityEventUnchecked(e);}
Then perform manual announcement on IsToggledChanged -
Cant see a simple way of doing it. By the looks of it the only possible way is by overriding everything, including the 'Double tap to toggle setting'. And rather not handle that text my self as using the built in text will auto use the systems language.
Android is possible, but atm cant see a way of doing it on iOS
Android
Add the following method into the platform view to prevent the default announcement -
Then perform manual announcement on IsToggledChanged -
iOS
Cant see a simple way of doing it. By the looks of it the only possible way is by overriding everything, including the 'Double tap to toggle setting'. And rather not handle that text my self as using the built in text will auto use the systems language.
https://stackoverflow.com/questions/52230673/how-can-i-make-an-arbitrary-uiaccessibilityelement-behave-like-a-uiswitch-for-vo
The text was updated successfully, but these errors were encountered: