duindain / iOSMauiImage

iOS Maui Image changed at runtime issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOSMauiImage

iOS Maui Image changed at runtime issue

Reproduction of this issue dotnet/maui#12020 With workaround added for handler in MauiProgram

Image doesnt render when clicking on button However rotating the screen will make the image appear as detailed in the issue

When i test this in the iOS simulator

  1. Click Switch to fetch the image async
  2. Nothing will change
  3. Rotate the screen and the image will appear

Changing from VerticalStackLayout to Grid

  1. Click Switch to fetch the image async
  2. Nothing will change
  3. Rotate the screen and the image will not appear which is different from what @Mattleibow reported

This is running 17.5.4 build 8 VS for Mac .Net 7.0.1

Grid after rotating simulator VirtualStack after rotating simulator
Simulator Screenshot - iPad Pro (12 9-inch) (6th generation) - 2023-07-06 at 16 28 05 Simulator Screenshot - iPad Pro (12 9-inch) (6th generation) - 2023-07-06 at 16 27 20

You can see from the screenshots that there are other issues there the Vertical stack is a transparent background showing dark mode, the Grid seems to have a white background for some reason and takes up the entire screen and shows the image and button in very different places

About

iOS Maui Image changed at runtime issue


Languages

Language:C# 100.0%