Embedded UISwitch not selectable in Navigation Bar in xCode 9

Hi. In my project, I have a UIView added to the center of Navigation Item, and then I have a UISwitch, an image and an activity indicator added to that view. So, starting from xCode 9, this configuration stopped working: the switch is no longer selectable (cannot select on or off) on devices (although can be selectable in Simulator). Can someone confirm it please? Is this a bug to be reported?


Thank you!

Embedded UISwitch not selectable in Navigation Bar in xCode 9
 
 
Q