Here we add an option for allowSwitch, which when YES allows the VC represented by the center of the button of the Tab Bar to be presented when it's tapped. If it's NO, the button will still send its action, but the underlying VC will not be made active. This is so that the button can take some other action instead - Like brining up a modal UI, for example.
Here we add an option for
allowSwitch
, which when YES allows the VC represented by the center of the button of the Tab Bar to be presented when it's tapped. If it's NO, the button will still send its action, but the underlying VC will not be made active. This is so that the button can take some other action instead - Like brining up a modal UI, for example.