My screen resolution is 1080 in height, but when I create a window (UIWindow) and set the height to 1080, the window is not created to full height. How do I make a window full screen height or get the window height so that my window opens to full screen height
My screen resolution is 1980 (width) x 1080 (height) But I set value on next code 1080 and window open not on full screen:
Microsoft.Maui.Handlers.WindowHandler.Mapper.AppendToMapping(
nameof(IWindow), (handler, view) =>
{
var size = new CoreGraphics.CGSize(1980, 1080);
handler.PlatformView.WindowScene.SizeRestrictions.MinimumSize = size;
handler.PlatformView.WindowScene.SizeRestrictions.MaximumSize = size;
});