From 74be312bf048b9dfb3fbf72f598da0a49c31df5b Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Tue, 18 Feb 2020 15:52:22 -0500 Subject: [PATCH] firendly ipad --- JSONCreator_iOS/JSONCreator/DetailViewController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/JSONCreator_iOS/JSONCreator/DetailViewController.swift b/JSONCreator_iOS/JSONCreator/DetailViewController.swift index d9705bb..67e10f1 100644 --- a/JSONCreator_iOS/JSONCreator/DetailViewController.swift +++ b/JSONCreator_iOS/JSONCreator/DetailViewController.swift @@ -19,6 +19,10 @@ class DetailViewController: UIViewController { guard textView.superview == nil else { return } + + modalPresentationStyle = .formSheet + MVMCoreNavigationHandler.shared()?.viewControllerToPresentOn = self + view.addSubview(textView) if UIDevice.current.userInterfaceIdiom == .pad { textView.font = UIFont.systemFont(ofSize: 40)