[NET 10] iOS App Freezes in Display Zoom mode set to "Larger Text"
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 297
Description
### Description
My app does not work when the device's Display Zoom setting is set to "Larger Text."
- I did some research and found a similar issue that I suspect is the root cause. It was fixed by you in #PR[34024](https://github.com/dotnet/maui/pull/34024).
- I tried retargeting my project to MAUI 10.0.50, however, my issue still has not been resolved.
Environment
- Workload version: 10.0.101
- .NET SDK:
- Version: 10.0.101
- Commit: fad253f51b
- Workload version: 10.0.101
- MSBuild version: 18.0.6+fad253f51
Devices : Occurs on all devices with a notch or Dynamic Island.
I suspect the possibility that:
1. The [constant](https://github.com/dotnet/maui/blob/10.0.50/src/Core/src/Platform/iOS/SafeAreaPadding.cs#L55) used to handle noise/tolerance is still not large enough.
- Sample Bug : [Archive.zip](https://github.com/user-attachments/files/30588419/Archive.zip)
- Video :
- [[iPhone-iOS26.1]_Freeze.mov](https://github.com/user-attachments/assets/dfecb689-d1a2-4ec8-9e86-c1d65905ef35)
- [[iPhone-iOS26.1]_Expected.mov](https://github.com/user-attachments/assets/78903231-1c59-467d-8eb3-2d03967fcfa1)
### Steps to Reproduce
1. Initialize a MAUI project (do not use Shell app).
2. On the MainPage, create a layout combining a Grid and a VerticalStackLayout.
3. The Grid's rows use a mix of "*" and "Auto".
4. Add several BoxViews with very odd/non-round height values.
5. On the MainPage and the Grid, set `SafeAreaEdges="None"`
**What needs to happen**
- The app hangs on the MAUI splash logo instead of displaying the MainPage screen.
- This does not occur when Display Zoom is not set to "Larger Text."
### Link to public reproduction project repository
_No response_
### Version with bug
10.0.50
### Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
### Last version that worked well
9.0.12 SR1.2
### Affected platforms
iOS
### Affected platform versions
Reproducible starting from iOS 15, on devices with a SafeArea
### Did you find any workaround?
Option 1: Remove all the SafeAreaEdges="None" settings.
Option 2: Adjust the BoxView heights to round numbers or values with fewer decimal places.
### Relevant log output
```shell
```
Contributor guide
Research direction
Start with src/Core/src/Platform/iOS/SafeAreaPadding.cs and compare its tolerance logic with PR #34024. Reproduce using Archive.zip on iOS 15+ with Larger Text, SafeAreaEdges=None, mixed Grid rows, and fractional BoxView heights; done means the app reaches MainPage without either listed workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100