Text Input Assistant Item: Button item selected state not exposed

Originator:maxseelemann
Number:rdar://25824951 Date Originated:16-04-20
Status:Open Resolved:
Product:iOS Product Version:9.x.x
Classification:Enhancement Reproducible:Always
 
Summary:
UIBarButtonItems, when used from an UITextInputAssistantItem's bar button item groups, can have a selected state. This is, however, private API. Expose it.

Steps to Reproduce:
See the attached sample project:

- Select some text
- Use the "B" button above keyboard
- See how the button turns blue

Expected Results:
UIBarButtonItem would expose a "selected" property, so custom bar button items could show a selected state as well.

Actual Results:
UIBarButtonItem does not expose "selected".

Version:
iOS 9.x.x

Notes:


Configuration:
iPad

Attachments:
'textedit v3.zip' http://cl.ly/fk1h and 'Napkin 20.04.16, 10.21.14 AM.png' http://cl.ly/fkFP were successfully uploaded.

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!