PHP中文网2017-04-17 16:42:31
The system will automatically call it, and it may not be called 5 times, but it may not be accurate how many times.
I don’t know what you want to do in it. Wouldn’t it be better to add an if judgment?
PHP中文网2017-04-17 16:42:31
This will indeed go in many times.
I tested it and found that not only heightForRowAtIndexPath will be entered multiple times, but also methods such as numberOfRowsInSection will be entered multiple times.
Currently, I don’t understand why I entered so many times. The main reason is that if you know the question, please tell me.