I'm trying to add a Switch
as UINavigationBar
Item through my storyboard. The problem is that when I connect to outlet or action. There is only 1 choice (UIBarItem
) and no Switch Item. How can we add switch to UINavigationBar
and control the on off state?