From 53e144eef2252fdfac91235045d1539a82a153b7 Mon Sep 17 00:00:00 2001 From: galenlin Date: Wed, 12 Jul 2017 19:39:13 +0800 Subject: [PATCH] Map data for accessory view of PBTableViewCell --- Pbind/Classes/View/PBTableViewCell.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Pbind/Classes/View/PBTableViewCell.m b/Pbind/Classes/View/PBTableViewCell.m index 06e8d5d..5df6a44 100644 --- a/Pbind/Classes/View/PBTableViewCell.m +++ b/Pbind/Classes/View/PBTableViewCell.m @@ -61,6 +61,9 @@ - (void)layoutSubviews { self.separatorInset = insets; } } + if (_accessoryMapper != nil) { + [_accessoryMapper mapData:nil forView:self.accessoryView]; + } } - (void)setAccessoryView:(UIView *)accessoryView {