While presenting RPSystemBroadcastPickerView on iOS 13, it shows an exception with the following description: Fatal Exception: NSInvalidArgumentException Application tried to present UIModalTransitionStylePartialCurl to or from non-fullscreen view controller . I am using Xcode Version 11.3.1 (11C504). Is there any solution to stop this exception?

1

There are 1 answers

1
adnan On

This is because iOS 13 uses a new presentation style instead of the full screen. And it doesn't support the PartialCurl transition you need to change the default presentation style:

var navigationController = new UINavigationController(ctrl); navigationController.ModalPresentationStyle = UIModalPresentationStyle.FullScreen; ctrl.ModalTransitionStyle = UIModalTransitionStyle.PartialCurl; PresentViewController(navigationController, animated: true, null);