I am using a tableview to display a message and i used the code below
UIView *chatView = [self bubbleView:[NSString stringWithFormat:@\"%@\", message] from:YES];
I got this problem when my tableView delegate and dataSource was mapped to another view controller. Make sure you haven't done the same.