From bf2b25a1da06eb353376931828130a412a001545 Mon Sep 17 00:00:00 2001 From: Andrea Mazzini Date: Sun, 4 Oct 2015 15:39:01 +0200 Subject: [PATCH] Fix issue #153 --- Source/ScrollingNavigationController.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/ScrollingNavigationController.swift b/Source/ScrollingNavigationController.swift index 860d6fab..3ffc8236 100644 --- a/Source/ScrollingNavigationController.swift +++ b/Source/ScrollingNavigationController.swift @@ -328,7 +328,9 @@ public class ScrollingNavigationController: UINavigationController, UIGestureRec // Hide all possible button items and navigation items for view in navigationBar.subviews { - if view.classForCoder.description() == "UINavigationButton" || view.classForCoder.description() == "UINavigationItemView" { + if view.classForCoder.description() == "UINavigationButton" || + view.classForCoder.description() == "UINavigationItemView" || + view.classForCoder.description() == "UISegmentedControl" { view.alpha = alpha } }