How can I add a custom UIControl
such as https://github.com/mattlawer/MBSwitch
to a navigation bar? Specifically, I need it to be the second button bar item on the left side.
My reason for attempting this is that I have a need to have a resized UISwitch
with an off state custom background color as a second item on left of a Nav bar. I can resize the switch, but if I want to set the background color I run into problems as discussed in:
How do I make a UISwitch under iOS 7 not take the background colour of the view behind it?