Closed amirrajan closed 7 years ago
It doesn't look like UIAccessibilityPostNotification
is available on WatchOS:
┌── [ /Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchOS.platform ]
└─» ag UIAccessibilityPostNotification
Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UIKit.framework/UIKit.tbd
119: _UIAccessibilityPauseAssistiveTechnologyNotification, _UIAccessibilityPostNotification,
Here are what the headers look like for iPhoneOS:
┌── [ /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform ]
└─» ag UIAccessibilityPostNotification
Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h
367: UIAccessibilityPostNotification
374:UIKIT_EXTERN void UIAccessibilityPostNotification(UIAccessibilityNotifications notification, __nullable id argument);
Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/UIKit.tbd
186: _UIAccessibilityPauseAssistiveTechnologyNotification, _UIAccessibilityPostNotification,
Thank you for investigation. I understand. I'll wait it is supported for WatchOS.
Imported from YouTrack:
UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, "Page 1")