You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
A possible workaround is using a custom renderer which reverts part of this change. This also reverts the bugfix, so it is only usable if the bugfix is not needed.
Adjust the version check if you need to support iOS versions lower than 11.
I can confirm a similar issue: in my case the ActivityIndicator is visible when active at least when I set a custom color for the indicator itself through ActivityIndicator.Color but by default it seems to use BackgroundColor black. When not setting ActivityIndicator.Color explicitly I see a black rectangle and can't see any sign of the indicator circle itself.
Happens on iOS 11, does NOT happen on iOS 12.4.
For now I am setting ActivityIndicator.BackgroundColor to transparent as workaround which seems to avoid this.
Can be reproduced with XF control gallery:
*Actual:
Expected:
cpraehaus
added a commit
to cpraehaus/Xamarin.Forms
that referenced
this issue
Dec 4, 2021
…rer to fixxamarin#14119
Custom UIActivityIndicatorView sub-classes do not seem to receive styling/theme defaults through UIAppearance theming. This leads to activity indicator showing all-black on iOS 11 as reported in xamarin#14119.
…rer to fix#14119 (#14957)
Custom UIActivityIndicatorView sub-classes do not seem to receive styling/theme defaults through UIAppearance theming. This leads to activity indicator showing all-black on iOS 11 as reported in #14119.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Steps to Reproduce
Run the following app on iOS 11 device or simulator:
Expected Behavior
Activity indicator is rendered as usual (background is visible behind the activity indicator).
Actual Behavior
Area covered by the indicator is black.
Basic Information
Environment
Show/Hide Visual Studio info
Screenshots
Xamarin.Forms 5.0.0.2012, iOS 11.4 simulator:
Xamarin.Forms 4.8.0.1821, iOS 11.4 simulator:
Reproduction Link
ActivityIndicatorWorking4.8.zip
ActivityIndicatorBroken5.0.zip
Workaround
I suspect this is caused by the following change: [iOS] ActivityIndicator starting animation only when attached to superview #11339
A possible workaround is using a custom renderer which reverts part of this change. This also reverts the bugfix, so it is only usable if the bugfix is not needed.
Adjust the version check if you need to support iOS versions lower than 11.
The text was updated successfully, but these errors were encountered: