aksonov / aksonov/react-native-tableview

Show the extra separators below UITableView

Offen
#135 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Objective-C
Sterne
1.4k
Forks
179
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

By default on iOS, UITableView shows extra separators in the empty place below the cells:

![Extra separators](https://i.stack.imgur.com/cFbz5.png)

As `RNTableView` is always initialising `tableFooterView`, these separators aren't shown. Could we initialise the footer only when we actually need?

At the moment, you can disable the footer by **commenting** this line:
```objc
_tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
```

And this line:
```objc
_tableView.tableFooterView = view;
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.