How to Switch Viewcontrollers Using SegmentedControl in Swift

Asked 2 years ago, Updated 2 years ago, 39 views

I would like to switch between Viewcontrollers using segmentedcontrol in swift, but I would like to know how to actually write and implement programs instead of using storyboard.I couldn't understand it well because I was using the storyboard on every site.

ios swift

2022-09-30 19:24

1 Answers

I think it's better to get the UIControlEventValueChanged event and rewrite window.rootViewController or naivgationController.viewControllers


2022-09-30 19:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.