UIAccessibilityLayoutChangedNotification doesn't behave as documented

Originator:getaaron
Number:rdar://19701741 Date Originated:2/3/2015
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8.2 beta 5
Classification:Serious Bug Reproducible:Always
 
Summary:
Posting a UIAccessibilityLayoutChangedNotification doesn't behave as expected.

Steps to Reproduce:
1. Post a UIAccessibilityLayoutChangedNotification notification, passing a string to be read.

For example:

UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, @"Layout Changes are really fun");

Expected Results:
I expect the documentation to remove the reference to reading a string.

Actual Results:
The documentation for this notification shows that VoiceOver *does* read the string.

> Posted by an application when the layout of a screen changes, such as when an element appears or disappears. This notification includes a parameter, which is either an NSString object that VoiceOver speaks or an accessibility element that VoiceOver moves to.

https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIAccessibility_Protocol/index.html#//apple_ref/c/data/UIAccessibilityLayoutChangedNotification

Notes:
The documentation should be updated to reflect the actual behavior.

Configuration:
Reproduced on iPhone 6 running iOS 8.2, Beta 5.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!