I have a place in my app’s UI that isn't in a table view where I want to have a UISwitch or a control with similar functionality (needing a control that has an on/off state), but I see in the iOS Human Interface Guidelines that a UISwitch is only supposed to be used in a table view (In Human Interface Guidelines, UI Elements -> Controls -> Switch).
In saying that, do I need to create a custom control with similar functionality? Would this conflict with the UI Design Basics -> Integrating with iOS -> Use Standard UI Elements Correctly section of the Human Interface Guidelines since it mentions avoiding custom UI that does a standard action? If not, what is the best option so this part of my app complies with the Human Interface Guidelines? The location where I need this control is not a place that needs a table view (adding a table view would increase the app's complexity in this case).
Thanks!