I am using Apptentive, and i am trying to customise message center of same.I want to change "ApptentiveColorContextBackground" color, but i am unable to figure out from where it changes the link says user can modify the UI.
Any help will be great.!
Edited :-
Tried this
in ApptentiveMessageCenterViewController.m
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {
switch ([self.dataSource cellTypeAtIndexPath:indexPath]) {
case ATMessageCenterMessageTypeMessage:
case ATMessageCenterMessageTypeCompoundMessage:
[(ApptentiveStyleSheet *)Apptentive.shared.styleSheet setColor:[UIColor redColor] forStyle:ApptentiveColorMessageBackground];
cell.contentView.backgroundColor = [[Apptentive sharedConnection].styleSheet colorForStyle:ApptentiveColorMessageBackground];
break;
case ATMessageCenterMessageTypeReply:
case ATMessageCenterMessageTypeCompoundReply:
cell.contentView.backgroundColor = [[Apptentive sharedConnection].styleSheet colorForStyle:ApptentiveColorReplyBackground];
case ATMessageCenterMessageTypeContextMessage:
[(ApptentiveStyleSheet *)Apptentive.shared.styleSheet setColor:[UIColor redColor] forStyle:ApptentiveColorContextBackground];
cell.contentView.backgroundColor = [[Apptentive sharedConnection].styleSheet colorForStyle:ApptentiveColorContextBackground];
}
}