I have placed attached view inside tableheaderview. When there is change in template based on that SMS view 1 and/or EMail view 2 will hide un hide. I want that it should resize tableheaderview based on visible view. I have set constraints but it is not resizing headerview. can anybody guide me where i am wrong?
Asked
Active
Viewed 82 times
1
-
You can alter the height contraint at runtime – Diptesh May 14 '15 at 07:49
-
i have taken reference and tried to set it but its not working correctly – Ruchish Shah May 14 '15 at 07:58
-
Are reloading the section ? try changing the height in heightforHeader inSection method. – Diptesh May 14 '15 at 08:59