Make modal fullscreen

This commit is contained in:
ismailgulek
2020-08-06 16:34:21 +03:00
parent e967d2aa03
commit 685cdcc2f9
2 changed files with 5 additions and 6 deletions
@@ -70,7 +70,11 @@ final class SetPinCoordinator: SetPinCoordinatorType {
}
func toPresentable() -> UIViewController {
return self.navigationRouter.toPresentable()
let controller = self.navigationRouter.toPresentable()
if #available(iOS 13.0, *) {
controller.modalPresentationStyle = .fullScreen
}
return controller
}
// MARK: - Private methods