diff --git a/examples/InteractivePushBackTransitionExample.swift b/examples/InteractivePushBackTransitionExample.swift index d21c66c..bb9e718 100644 --- a/examples/InteractivePushBackTransitionExample.swift +++ b/examples/InteractivePushBackTransitionExample.swift @@ -64,6 +64,10 @@ private class ModalViewController: UIViewController, UIGestureRecognizerDelegate scrollView.panGestureRecognizer.require(toFail: pan) view.addGestureRecognizer(pan) } + + override var preferredStatusBarStyle: UIStatusBarStyle { + return .lightContent + } } private class PushBackTransition: Transition { diff --git a/examples/PushBackTransitionExample.swift b/examples/PushBackTransitionExample.swift index 27cae79..60da235 100644 --- a/examples/PushBackTransitionExample.swift +++ b/examples/PushBackTransitionExample.swift @@ -59,6 +59,10 @@ private class ModalViewController: UIViewController { func didTap() { dismiss(animated: true) } + + override var preferredStatusBarStyle: UIStatusBarStyle { + return .lightContent + } } private class PushBackTransition: Transition {