Skip to content

[iOS] Search Bar cancel button color not applied on iOS 26 #33964

@TamilarasanSF4853

Description

@TamilarasanSF4853

Description

Setting the cancel button color on the search bar control is not working on iOS 26. It is properly set on iOS 18.

Image Image

Steps to Reproduce

  1. Run the host app.
  2. Navigate to AppTheme -> AppThemePage
  3. Notice the SearchBar cancel button color is not set.

Link to public reproduction project repository

https://github.com/dotnet/maui/tree/main/src/Controls/tests/TestCases.HostApp/FeatureMatrix/AppTheme

Version with bug

10.0.31

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 26

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions