Bar button items in storyboards should be able to vary by traits

Number:rdar://37612189 Date Originated:16-Feb-2018 02:28 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:9.2 (9C40b)
Classification:Enhancement Reproducible:Always
Storyboards’ “Vary for Traits” feature, and the ability to specify different values for many object properties by trait collection is powerful. But bar button items cannot be shown/hidden by traits in a storyboard. Instead it must be done in code.

Steps to Reproduce:
Create a simple Storyboard with a bar button item.

Expected Results:
I should be able to remove or hide the bar button item in one trait and preserve it in another.

Actual Results:
When removed in one trait, it is gone.

9.2 (9C40b)



Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!