Matthew Kruk
05/02/2022, 8:34 PMviewContoller.presentViewContoller(this, animated = true, completion = null)
but it presents as a modal just the same as calling viewController?.presentModalViewController(this, animated = true)
. I've also tried explicitly calling
viewController?.setModalPresentationStyle(UIModalPresentationFullScreen)
with the latter. Any idea what I'm doing wrong?Nikolay Kasyanov
05/03/2022, 8:07 AMthis
? As I understand, it’s the one getting presented, not viewController
ribesg
05/03/2022, 8:23 AMinit {
modalPresentationStyle = UIModalPresentationOverFullScreen
}