UIKeyCommand only recognizes commands after second press

Originator:me
Number:rdar://19613391 Date Originated:27-Jan-2015 01:31 PM
Status:Open Resolved:
Product:iOS Product Version:8.1
Classification:UI/Usability Reproducible:Always
 
Summary:
UIKeyCommand shortcuts only register after skipping the first time

Steps to Reproduce:
1. Subclass UIApplication
2. Override -keyCommands to add some other key command.
3. Override -sendAction:to:from:forEvent: and run the method if applicable.

Expected Results:
The method should be invoked every time the shortcut is pressed.

Actual Results:
The method is only invoked after skipping the first time, works every time after that.

Regression:
Repros in iOS 8.1 simulator and device.

Comments

I posted a workaround here: http://stackoverflow.com/a/28804992/1445366

By getaaron at March 2, 2015, 8 a.m. (reply...)

Marked as duplicate of rdar://18840044


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!