How to lock orientation at runtime on iOS 16 with .NET MAUI and Xamarin.Forms
With iOS 16, Apple made some old APIs non-functional. This includes also the established way of locking the orientation. In this post, I am going to show you how you can lock orientation on iOS 16 while the app is running with both .NET MAUI and Xamarin.Forms.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed