Working in Xcode 14.2, using UIKit
I have a static table view being used as an input form. It has three sections and the last section contains a UITextView constrained to the cell margins.
After the keyboard appears, if the text view in section 3 is selected or the view is manually scrolled at all, what seems to be an empty section footer (a light grey bar) appears at the top of the keyboard. It disappears when section 3 is fully visible.
This obscures the text view when editing it. Adding an offset (i.e. based on keyboard height) adds space between the keyboard and the grey bar - so I can't just adjust for it.
I don't have, want or need section footers in this view, but i can't isolate why this one is appearing.
I've got the the following code in viewDidLoad as a part of making the text view scale with the entered text, but it doesn't seem to be the issue as commenting them out doesn't remove the issue.
override func viewDidLoad() {
super.viewDidLoad()
notesTextView.delegate = self
notesTextView.isScrollEnabled = false
Any help tracking this down much appreciated.