xcodexcode11ios13replaykit

Get NSInvalidArgumentException when trying to present RPSystemBroadcastPickerView on iOS13 with Xcode11 beta4


When i trying to present RPSystemBroadcastPickerView in my app, i get an exception with the following description: Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘Application tried to present UIModalTransitionStylePartialCurl to or from non-fullscreen view controller 



I build my app with Xcode 11 beta 4 and the app runs on iOS13 beta 4. Fun fact, I do not get this exception if I run the app on iOS12 (built with Xcode 11 beta 4) and I present RPSystemBroadcastPickerView from a full-screen view controller. Why do I get this exception? Maybe I should wait for the final iOS13 version? Does anybody have any tips?


Solution

  • This is an issue on all the betas of iOS 13. I submitted a bug report using Apple's new Feedback website (https://feedbackassistant.apple.com/). To ensure that Apple fixes this before the official release of iOS 13, I would recommend that you also fill a bug report.