添加二级评论多个的时候的逻辑,默认每次点击出现5条
This commit is contained in:
@@ -67,6 +67,14 @@
|
||||
forState:UIControlStateNormal];
|
||||
break;
|
||||
}
|
||||
case KBAIReplyFooterStateLoadMore: {
|
||||
self.actionButton.hidden = NO;
|
||||
NSInteger remaining = comment.totalReplyCount - comment.displayedReplies.count;
|
||||
title = [NSString stringWithFormat:@"展开更多回复(%ld条)", (long)remaining];
|
||||
[self.actionButton setImage:[UIImage systemImageNamed:@"chevron.down"]
|
||||
forState:UIControlStateNormal];
|
||||
break;
|
||||
}
|
||||
case KBAIReplyFooterStateCollapse: {
|
||||
self.actionButton.hidden = NO;
|
||||
title = @"收起";
|
||||
|
||||
Reference in New Issue
Block a user