-
Notifications
You must be signed in to change notification settings - Fork 326
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
[barButtonItem valueForKey:@"view"] returns nil #26
Comments
view -> _view |
what is the intended use case here? (apologies for late response) |
@cwRichardKim , when using UIBarButtonItem's init method |
not sure i understand, but can i close this issue? |
Have the same problem |
iOS Custom Badge, Support UIView, UITabBarItem, UIBarButtonItem ,Support Objective-C/Swift : |
You can use |
Fixed the issue by switching to customView UIBarButtonItem: Before:
After:
And then it worked. I think this was a regression in iOS 11 (unsure). @cwRichardKim hope it helps! |
[barButtonItem valueForKey:@"view"]
sometimes returns nil and hub not showing up
The text was updated successfully, but these errors were encountered: