diff --git a/Example/Base.lproj/Main.storyboard b/Example/Base.lproj/Main.storyboard index c8ecf014..cc7ef41b 100644 --- a/Example/Base.lproj/Main.storyboard +++ b/Example/Base.lproj/Main.storyboard @@ -1,9 +1,9 @@ - - + + - + @@ -171,6 +171,7 @@ + diff --git a/Example/ViewController.swift b/Example/ViewController.swift index ea670397..436e8928 100644 --- a/Example/ViewController.swift +++ b/Example/ViewController.swift @@ -38,9 +38,12 @@ class ViewController: UIViewController, CropViewControllerDelegate { let config = Mantis.Config() let cropViewController = Mantis.cropViewController(image: image, config: config) - cropViewController.modalPresentationStyle = .fullScreen cropViewController.delegate = self - present(cropViewController, animated: true) + + let navigationController = UINavigationController(rootViewController: cropViewController) + cropViewController.title = "Demo" + cropViewController.view.backgroundColor = .white + present(navigationController, animated: true) } @IBAction func presentWithPresetTransformation(_ sender: Any) { diff --git a/Example/zh-Hans.lproj/Main.storyboard b/Example/zh-Hans.lproj/Main.storyboard index 74fe781f..37a540cb 100644 --- a/Example/zh-Hans.lproj/Main.storyboard +++ b/Example/zh-Hans.lproj/Main.storyboard @@ -1,7 +1,9 @@ - + + - + + @@ -11,11 +13,11 @@ - + - +