Frame in Xamarin.iOS does not cover entire screen

Ganesh Gebhard 366 Reputation points
2020-12-15T02:04:25.98+00:00

Hey!

I have an app in Xamarin.Forms, but this problem is specifically for iOS.
I use a contentpage for displaying the camera. This contentpage page uses a CameraModel so that this can be used on Android and iOS with custom renderers:

48134-image.png

I want the camera to be shown fullscreen on the contentpage. this does works for Android, but for iOS I face the following issue: I have a frame for the camera (in the iOS custom renderer) and it seems that this frame is fullscreen:

48135-image.png

The result however is this:

48145-dgfbfdgsbvdxg.jpg

Am I missing something? Or do you need more code to help me?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,325 questions
{count} votes

0 additional answers

Sort by: Most helpful