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

Change menu item image on tap #42

Open
ahmadmabrouk opened this issue Apr 8, 2020 · 1 comment
Open

Change menu item image on tap #42

ahmadmabrouk opened this issue Apr 8, 2020 · 1 comment

Comments

@ahmadmabrouk
Copy link

Hello,

I'm trying to change the menu item image after tapping on it, but I can't seem to find a way to do it. Is it possible to do that? or is there any workaround that I should do to make it happen?

Thanks a lot.

@preetamjadakar
Copy link

You just need to update the access level of fileprivate var menuButton: UIButton = UIButton() to open then you should be able to update the image of it like expandingMenuButton.menuButton.setImage(UIImage(named: "chooser-moment-icon-thought")!, for: .normal)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants