SoFunction
Updated on 2025-04-12

Solution to empty 20 pixels on tableView

There are 20 extra pixels on the tableView because of automatic layout. Setting the attributes can solve the problem

Copy the codeThe code is as follows:

= UIRectEdgeNone;

Super simple and practical method, try it