With iOS system applications, when the user leaves an app running in the background, opens the Settings app, adjusts the system text size, and returns to the app, all views in the app refresh their text size to meet the new system font size. This does not occur with apps written using xamarin forms, and the app must be restarted for the system font size change to take effect. it does not automatically update to match the new system font size.
Steps to Reproduce
Create a new project using New > App > Multiplatform > Xamarin Forms > Blank App.
Change the label font sizes to any named font size and run the app
Take note of the current text size of the template text
Navigate to the iOS Settings app, go to General > Accessibility > Larger Text, and change the font size to the largest size
Double tap on the home button, and return to the app
Note that the text size has not changed
Reload the app by restarting it on iOS
Note that the font size has changed
Expected Behavior
Like some native apps, the text size should be changed in real-time
Actual Behavior
The text size has not changed in realtime
Basic Information
Version with issue:5.0.0.2545
Last known good version:
Platform Target Frameworks:
iOS: 16.2
Android: 13(API Level 33)
Android Support Library / AndroidX Version: N.A
NuGet Packages: Xamarin.Essentials 1.7.4,Xamarin Forms 5.0.0.2545
Description
With iOS system applications, when the user leaves an app running in the background, opens the Settings app, adjusts the system text size, and returns to the app, all views in the app refresh their text size to meet the new system font size. This does not occur with apps written using xamarin forms, and the app must be restarted for the system font size change to take effect. it does not automatically update to match the new system font size.
Steps to Reproduce
Expected Behavior
Like some native apps, the text size should be changed in real-time
Actual Behavior
The text size has not changed in realtime
Basic Information
Environment
Show/Hide Visual Studio info
Visual Studio Community 2022 for Mac Version 17.4.1 (build 28) Installation UUID: 9e4c81bd-05ad-4d92-a478-f9db03a38a5a Runtime .NET 6.0.9 (64-bit) Architecture: X64 Roslyn (Language Service) 4.4.0-6.22578.12+3c6ab8e1715e5b080fb7bb77070810ab71e09387 NuGet Version: 6.3.1.1 .NET SDK (x64) SDK: /usr/local/share/dotnet/sdk/7.0.100/Sdks SDK Versions: 7.0.100 6.0.403 6.0.402 6.0.400 6.0.302 6.0.301 6.0.300 5.0.408 5.0.407 5.0.405 5.0.404 5.0.403 5.0.402 5.0.401 5.0.302 3.1.425 3.1.424 3.1.422 3.1.421 3.1.420 3.1.419 3.1.418 3.1.416 3.1.415 3.1.414 3.1.413 3.1.411 MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks .NET Runtime (x64) Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 7.0.0 6.0.11 6.0.10 6.0.8 6.0.7 6.0.6 6.0.5 5.0.17 5.0.16 5.0.14 5.0.13 5.0.12 5.0.11 5.0.10 5.0.8 3.1.31 3.1.30 3.1.28 3.1.27 3.1.26 3.1.25 3.1.24 3.1.22 3.1.21 3.1.20 3.1.19 3.1.17 2.1.30 Xamarin.Profiler Version: 1.8.0.19 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler Updater Version: 11 Xamarin.Android Version: 13.1.0.1 (Visual Studio Community) Commit: xamarin-android/d17-4/13ba222 Android SDK: /Users/dasunnayanajith/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 12.1 (API level 32) 12.0 (API level 31) 11.0 (API level 30) 10.0 (API level 29) 13.0 (API level 33) SDK Command-line Tools Version: 7.0 SDK Platform Tools Version: 33.0.2 SDK Build Tools Version: 33.0.0 Build Information: Mono: a96bde9 Java.Interop: xamarin/java.interop/d17-4@fcc33ce2 SQLite: xamarin/sqlite/3.39.3@23e1ae7 Xamarin.Android Tools: xamarin/xamarin-android-tools/main@0be567a Microsoft Build of OpenJDK Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk 11.0.12 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL Eclipse Temurin JDK Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk 1.8.0.302 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL Android SDK Manager Version: 17.4.0.54 Hash: 6eabb9e Branch: remotes/origin/d17-4 Build date: 2022-12-02 15:34:47 UTC Android Device Manager Version: 0.0.0.1206 Hash: 886af39 Branch: 886af39 Build date: 2022-12-02 15:34:47 UTC Xamarin Designer Version: 17.4.0.136 Hash: d49c9ff6d3 Branch: remotes/origin/d17-4 Build date: 2022-12-02 15:34:42 UTC Apple Developer Tools Xcode 14.2 (21534) Build 14C18 Xamarin.Mac Version: 8.12.0.2 (Visual Studio Community) Hash: 87f98a75e Branch: d17-3 Build date: 2022-07-25 20:18:54-0400 Xamarin.iOS Version: 16.0.0.72 (Visual Studio Community) Hash: 6756a1146 Branch: release/6.0.4xx-xcode14 Build date: 2022-09-21 08:51:06-0400 Build Information Release ID: 1704010028 Git revision: f17dcd4436244cc06ed14dc5238c4d3fa788144f Build date: 2022-12-02 15:32:32+00 Build branch: release-17.4 Build lane: release-17.4 Operating System Mac OS X 12.6.0 Darwin 21.6.0 Darwin Kernel Version 21.6.0 Mon Aug 22 20:17:10 PDT 2022 root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64Build Logs
Screenshots
Reproduction Link
Archive.zip
Workaround
Couldn't find any