You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a default UIBarButtonItem style in my .nss file and when I call [NUIAppearance init] I can't override those values using another class defined as runtime attribute on the Storyboard.
I've noticed that both NUIBarButtonItemRenderer and NUIAppearance are using setTitleTextAttributes but I could not find the reason why the NUIBarButtonItemRenderer is not overring the default value.
This is fixed. Bar button items are rendered using UINavigationBar+NUI, and it had been using NUIRenderer instead of going through all of the NUI initialization methods in UIBarButtonItem+NUI, as it should. I've corrected that, and tested the issue you were seeing, and it seems to be working fine now.
The UIBarButtonItem style class has been replaced with BarButton, so you'll want to make that change in your NSS, too.
I'll close this, but if any aspect of it isn't working, just let me know!
If I have a default
UIBarButtonItem
style in my .nss file and when I call[NUIAppearance init]
I can't override those values using another class defined as runtime attribute on the Storyboard.I've noticed that both
NUIBarButtonItemRenderer
andNUIAppearance
are usingsetTitleTextAttributes
but I could not find the reason why theNUIBarButtonItemRenderer
is not overring the default value.Example:
The text was updated successfully, but these errors were encountered: