Unable to access properties like preferredContentSizeCategory or the canOpenURL: method within extensions
| Originator: | steipete | ||
| Number: | rdar://18919080 | Date Originated: | 08-Nov-2014 07:22 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | |
| Classification: | Reproducible: |
Peter Steinberger08-Nov-2014 07:22 PM Summary: With the restriction of sharedApplication being one, we are unable to access properties like preferredContentSizeCategory or the canOpenURL: method within extensions. Steps to Reproduce: 1. Implement a basic extension. 2. Try to access preferredContentSizeCategory. Expected Results: Either not marking sharedApplication as disallowed or providing alternatives for the missing API. Actual Results: API not callable (unless you do stuff like [UIApplication performSelector:NSSelectorFromString(@"sharedApplication")];) which works. Version: iOS 8.1 Notes: Configuration: iPad Air 2 Attachments:
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!