From 911e73c78f539f0dbb62ec663bf753457d8ad999 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 16 Sep 2019 13:14:58 -0400 Subject: [PATCH] Add haptic feedback to switching segmented pages --- Tusker/Screens/Utilities/SegmentedPageViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tusker/Screens/Utilities/SegmentedPageViewController.swift b/Tusker/Screens/Utilities/SegmentedPageViewController.swift index 636c57984f..203860152b 100644 --- a/Tusker/Screens/Utilities/SegmentedPageViewController.swift +++ b/Tusker/Screens/Utilities/SegmentedPageViewController.swift @@ -52,6 +52,7 @@ class SegmentedPageViewController: UIPageViewController, UIPageViewControllerDel @objc func segmentedControlChanged() { selectPage(at: segmentedControl.selectedSegmentIndex, animated: true) + UIImpactFeedbackGenerator(style: .light).impactOccurred() } // MARK: - Page View Controller Delegate