You do not need to set full screen separation lines for UITableView and full screen for uitableview.
Add the following code:
STableView. separatorInset = UIEdgeInsetsZero;
STableView. layoutMargins = UIEdgeInsetsZero;
Cell. layoutMargins = UIEdgeInsetsZero;
The second method is as follows:
-(Void) viewDidLayoutSubviews
{
[Super viewDidLayoutSubviews];
If ([_ moreTableView respondsToSelector: @ selector (setSeparatorInset :)]) {
[_ MoreTableView setSeparatorInset: UIEdgeInsetsMake (0, 0, 0)];
}
If ([_ moreTableView respondsToSelector: @ selector (setLayoutMargins :)]) {
[_ MoreTableView setLayoutMargins: UIEdgeInsetsMake (0, 0, 0)];
}
}
-(Void) tableView :( UITableView *) tableView willDisplayCell :( UITableViewCell *) cell forRowAtIndexPath :( NSIndexPath *) indexPath
{
If ([cell respondsToSelector: @ selector (setSeparatorInset :)]) {
[Cell setSeparatorInset: UIEdgeInsetsZero];
}
If ([cell respondsToSelector: @ selector (setLayoutMargins :)]) {
[Cell setLayoutMargins: UIEdgeInsetsZero];
}
}
If there are less than 150 words and no candidate area, I should click more words. La la