UNNotificationAttachment's init method's signature doesn't match documentation

Originator:abarisain
Number:rdar://26835764 Date Originated:16/06/2015
Status:Resolved Resolved:06/07/2016
Product:iOS SDK Product Version:Xcode 8.0 beta (8S128d
Classification:Other Reproducible:Always
 
According to the documentation, UNNotificationAttachment's init method's first argument (identifier) should be an optional String.
However, it isn't, so we can't pass "nil" like the documentation says.

Link to the documentation that shows this problem: https://developer.apple.com/reference/usernotifications/unnotificationattachment/1649987-init

Comments

The documentation has been corrected. This issue has been verified as resolved and can be closed.

By abarisain at July 6, 2016, 9:53 a.m. (reply...)

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!