NSURLSessionConfiguration instancesRespondToSelector returns NO on iOS 9

Originator:jverdi
Number:rdar://21857765 Date Originated:16-Jul-2015 01:57 PM
Status:Open Resolved:
Product:iOS SDK Product Version:9.0b3
Classification:Other Bug Reproducible:Always
 
Summary:
NSURLSessionConfiguration instancesRespondToSelector: on its properties (ex. sharedContainerIdentifier) has started returning NO as of iOS 9. 

Steps to Reproduce:
[NSURLSessionConfiguration instancesRespondToSelector:@(sharedContainerIdentifier)]

Expected Results:
YES

Actual Results:
NO

Regression:
Returned YES on iOS 8

Notes:
This is problematic when attempting to set a sharedContainerIdentifier on only those iOS versions that support it (>= iOS 8) and using the common pattern of respondsToSelector or instancesRespondsToSelector to check for support.

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!