nnhubbard / ZSSRichTextEditor

A beautiful rich text WYSIWYG editor for iOS with a syntax highlighted source view
MIT License
3.78k stars 585 forks source link

Changing TintColor Not Working. #188

Open Mehul18292 opened 7 years ago

Mehul18292 commented 7 years ago

I have tried to follow this bottom 2 lines,

// Set the toolbar item color
self.toolbarItemTintColor = [UIColor greenColor];

// Set the toolbar selected color
self.toolbarItemSelectedTintColor = [UIColor redColor];

But, In my case, I am always getting the default blue colored toolbaritems and also not changing color when selected. Can anyone help me out, why it is not working?

rafaelnobrepd commented 7 years ago

I noticed that on iOS 10, having ANY appearance proxy that messes with tintColor (even ones that have nothing to do with UIToolBar) will make Toolbars not respect individual tintColor settings anymore. Haven't found a workaround yet.