Matching background color for keyboard accessories with keyboard color

I am trying to install an accessory on top of UIKeyboard by default. I want to match the background color of the accessory with the keyboard for both iOS 6 and iOS 7. I am trying to use below RGB, which does not help.

If someone has done this before, suggest.

For iOS 6
myAccessoryView.tintColor = [UIColor colorWithRed:105.0f/255.0f green:114.0f/255.0f blue:125.0f/255.0f alpha:1.0f];

For iOS 7
myAccessoryView.tintColor = [UIColor colorWithRed:(81.0f / 255.0f) green:(81.0f / 255.0f) blue:(81.0f / 255.0f) alpha:0.98f]
+4
source share
1 answer

iOS7 UIInputView. iOS6 , UIToolBar tintColor. . iPhone?

+3

Source: https://habr.com/ru/post/1541334/


All Articles