UIKeyCommand should expose action selector
Originator: | piet.brauer | ||
Number: | rdar://24540888 | Date Originated: | 07-Feb-2016 11:31 AM |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | 9.2 |
Classification: | Enhancement | Reproducible: | Always |
Summary: When implementing key commands in my app I would like to test the action as well, the current implementation of UIKeyCommand does not support that. Testing the action is important because the key command is not available when the action is not implemented in the controller Steps to Reproduce: 1. Implement key commands in your view controller 2. Try to test the action of a UIKeyCommand Expected Results: UIKeyCommand responds to `action` or inherits from `UIControl`. Actual Results: `action` is inaccessible and not testable
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!