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?
Asked
Active
Viewed 254 times
1
-
Are you able to fix the issue? – Ashish Kakkad Jul 28 '20 at 05:07
-
Not yet. Still looking for the right solution. – Ankita Pundir Jul 29 '20 at 06:10
1 Answers
0
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);

adnan
- 57
- 1
- 12