For custom cell in viewForHeaderInSection reload particular viewForHeaderInSection IOS

前端 未结 1 762
没有蜡笔的小新
没有蜡笔的小新 2020-12-21 03:59

I want to reload viewForHeaderInSection in case of custom cell in viewForHeaderInSection to reload particular viewForHeaderInSection IOS.

I have used followi

相关标签:
1条回答
  • 2020-12-21 04:35

    You can try something like this:

    UIView *headerVw = [YOURTABLEVIEW headerViewForSection:section];
    [headerVw setNeedsDisplay];
    [headerVw setNeedsLayout];
    

    Note:

    • To deal with specific view you can define tags As well

    Hope it will work for you.

    0 讨论(0)
提交回复
热议问题