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 11.2: BarButtonItem Badge is not working #37

Closed
mittalkamal29 opened this issue Feb 6, 2018 · 3 comments
Closed

IOS 11.2: BarButtonItem Badge is not working #37

mittalkamal29 opened this issue Feb 6, 2018 · 3 comments

Comments

@mittalkamal29
Copy link

Hi,

I have used that code but it is not working in IOS 11.2 for bar button item. Can you please check that issue and update it?

Thanks

@Alwin-Lazar
Copy link

Any update

@jkpang
Copy link

jkpang commented Apr 16, 2018

Have try PPBadgeView: https://github.com/jkpang/PPBadgeView

@phunguyenquang
Copy link

On iOS 11, the view may not be valid anymore -> superview is not initialized -> cannot add the badge as subview.
But it works if you set custom view for UIBarButtonItem.
So you just need to initialize the UIBarButtonItem with a button as custom view, it will work.

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

4 participants