File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,9 @@ - (void)setLeftUtilityButtons:(NSArray *)leftUtilityButtons
242242 _leftUtilityButtons = leftUtilityButtons;
243243
244244 self.leftUtilityButtonsView .utilityButtons = leftUtilityButtons;
245+
246+ [self .leftUtilityButtonsView layoutIfNeeded ];
247+ [self layoutIfNeeded ];
245248 }
246249}
247250
@@ -250,6 +253,9 @@ - (void)setLeftUtilityButtons:(NSArray *)leftUtilityButtons WithButtonWidth:(CGF
250253 _leftUtilityButtons = leftUtilityButtons;
251254
252255 [self .leftUtilityButtonsView setUtilityButtons: leftUtilityButtons WithButtonWidth: width];
256+
257+ [self .leftUtilityButtonsView layoutIfNeeded ];
258+ [self layoutIfNeeded ];
253259}
254260
255261- (void )setRightUtilityButtons : (NSArray *)rightUtilityButtons
@@ -258,6 +264,9 @@ - (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons
258264 _rightUtilityButtons = rightUtilityButtons;
259265
260266 self.rightUtilityButtonsView .utilityButtons = rightUtilityButtons;
267+
268+ [self .rightUtilityButtonsView layoutIfNeeded ];
269+ [self layoutIfNeeded ];
261270 }
262271}
263272
@@ -266,6 +275,9 @@ - (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons WithButtonWidth:(C
266275 _rightUtilityButtons = rightUtilityButtons;
267276
268277 [self .rightUtilityButtonsView setUtilityButtons: rightUtilityButtons WithButtonWidth: width];
278+
279+ [self .rightUtilityButtonsView layoutIfNeeded ];
280+ [self layoutIfNeeded ];
269281}
270282
271283#pragma mark - UITableViewCell overrides
You can’t perform that action at this time.
0 commit comments