This repository has been archived by the owner on May 1, 2024. It is now read-only.
[iOS] Fixed IndicatorView rendering issue on iOS 14 #12654
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
Fixed IndicatorView rendering issue on iOS 14.
In iOS 14, We have a new styling option for a UIPageControl called
BackgroundStyle
. This is an enum with three values:Apple also has provided a new way to manage the interaction for the UIPageControl in iOS14 called InteractionState.
AllowsContinuousInteraction
allow us in a. simple way to manage if we want continuous interaction or not.To maintain the IndicatorView behavior, this PR introduce changes using the previous properties only in iOS 14.
Issues Resolved
API Changes
None
Platforms Affected
Behavioral/Visual Changes
None
Before/After Screenshots
Testing Procedure
Launch Core Gallery on iOS 14 and navigate to the IndicatorView Gallery. Verify that the IndicatorView renders as expected.
PR Checklist