I want to change the custom keyboard template background colour.The default colour is grey. am trying to supply an image for its background but it is still showing grey.Below is the code I tried
self.view.opaque = YES;
self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bg"]];
But the same background colour changes when I did like below code
self.view.opaque = YES;
self.view.backgroundColor = [UIColor blackColor];
And similarly the same issue when I pass UIImages to UIButton's current image inside the keyboard template.Where am I going wrong?