Commit ae1a0da5 authored by pete谢兆麟's avatar pete谢兆麟

默认index

parent c2492cad
...@@ -106,6 +106,8 @@ class YHPreviewControllerHoldViewController: UIViewController { ...@@ -106,6 +106,8 @@ class YHPreviewControllerHoldViewController: UIViewController {
indicator.verticalOffset = 4 indicator.verticalOffset = 4
indicator.indicatorColor = UIColor.brandMainColor indicator.indicatorColor = UIColor.brandMainColor
segmentedView.indicators = [indicator] segmentedView.indicators = [indicator]
segmentedView.defaultSelectedIndex = self.myDefaultNavItemIndex
} }
override func viewWillAppear(_ animated: Bool) { override func viewWillAppear(_ animated: Bool) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment