Manos Chorianopoulos

fix NumberPopupViewController presentation style

......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -36,7 +36,7 @@ protocol NumbersPopupDelegate {
delegateBallon = delegate
// set the presentation style
self.modalPresentationStyle = UIModalPresentationStyle.popover
self.modalPresentationStyle = UIModalPresentationStyle.overFullScreen
// set up the popover presentation controller
// self.popoverPresentationController?.permittedArrowDirections = UIPopoverArrowDirection.up
......@@ -113,11 +113,11 @@ protocol NumbersPopupDelegate {
}
public func adaptivePresentationStyle(for controller: UIPresentationController) -> UIModalPresentationStyle {
return UIModalPresentationStyle.fullScreen
return UIModalPresentationStyle.overFullScreen
}
public func adaptivePresentationStyle(for controller: UIPresentationController, traitCollection: UITraitCollection) -> UIModalPresentationStyle {
return UIModalPresentationStyle.fullScreen
return UIModalPresentationStyle.overFullScreen
// return UIModalPresentationStyle.none
}
......