I have a Xamarin.iOS app developed on Visual Studio 2019 and paired to a Mac. The app was displaying correctly on both iPhones and iPads until I updated Xcode on the Mac to version 11. Since then Apple is rejecting my app because is displaying a white blank screen on iPads (see image below!).
I have validated the issue on Xcode Simulator and on a physical iPad. Does anyone have an idea of why this is happening?
Apps for the Apple ecosystem are not currently built in Swift Playgrounds or anything nearly as fun and colorful; they're largely built and distributed in Xcode, a massive and complicated application that only runs on Macs. It's famously difficult to learn.
Xamarin. iOS works with Visual Studio Community, Professional, and Enterprise editions, on a standalone or virtual machine.
I had exactly the same problem as you, and even though it could be you already got a solution i will share how i got it working at the end... for those who could still have that same problem.
Note: in my case the issue appeared only on Apps built with XCode 11 that use MasterDetailPage
on Xamarin.Forms version < 4.0 and running on iPad: the easiest solution to this issue is simply updating Xamarin.Forms to the latest version (or simply downgrading XCode to a previous version!), but if you (as i was) are not able to update Xamarin.Forms, then keep reading.
As mentioned in this thread from the Xamarin Forums all you have to do is copy the latest MasterDetailPage renderer from the Xamarin.Forms source and do a few changes.
Since the final script is too long to be added here as text (it exceeds the maximal number of allowed lines), and since i could not find a way to upload a text file, i would point to the thread in Xamarin Forums where i added that script with all the changes needed:
TabletMasterDetailRenderer
Note: Do not forget to change {YourNamespace}
for your correct namespace!
This is fixed in at least Xamarin Forms 3.6.0.709228.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With