Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] UIButton uses deprecated APIs when dealing with the Image #21394

Open
2 tasks
tj-devel709 opened this issue Mar 22, 2024 · 0 comments
Open
2 tasks

[iOS] UIButton uses deprecated APIs when dealing with the Image #21394

tj-devel709 opened this issue Mar 22, 2024 · 0 comments
Labels
area-controls-button Button, ImageButton platform/iOS 🍎 t/bug Something isn't working
Milestone

Comments

@tj-devel709
Copy link
Member

Description

In iOS 15, UIButton's titleEdgeInsets, contentEdgeInsets, and imageEdgeInsets were deprecated. We use these in our iOS Button implementation and ImageButton. They are still working currently, but Apple can decide to change/remove these at any time so we should transition to using UIButton.Configuration APIs.

  • Update the Button
  • Update the ImageButton

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.10 SR3

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 15

Did you find any workaround?

No response

Relevant log output

No response

@tj-devel709 tj-devel709 added t/bug Something isn't working platform/iOS 🍎 area-controls-button Button, ImageButton labels Mar 22, 2024
@tj-devel709 tj-devel709 added this to the Backlog milestone Mar 22, 2024
@dotnet-policy-service dotnet-policy-service bot added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Mar 22, 2024
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-button Button, ImageButton platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants