#import "UITableView+EmptyData.h"
//tableView numberOfRowsInSection中进行调用
- (void) tableViewDisplayWitMsg:(NSString *) message ifNecessaryForRowCount:(NSUInteger) rowCount;
UITableView+EmptyData.m
- (void) tableViewDisplayWitMsg:(NSString *) message ifNecessaryForRowCount:(NSUInteger) rowCount
{
UILabel *messageLabel = nil;
UIImageView *iconView = nil;
UIView *bgView = nil;
if (rowCount == 0) {
if ([message isEqualToString:@"没有聊天记录"]) {
}
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
//[tableView tableViewDisplayWitMsg:@"没有聊天记录" ifNecessaryForRowCount:[self.module.showingMessages count]];
return 1;
}