Suggestion for UITextView is under floating heading for UITableView

I have floating headers for my UITableView (which I want). But it looks pretty bad when the proposal view for the UITextView in the cell above is under the heading.

Nobody seems to have had this problem before. Any suggestions?

Both the contents of the header cell and the UITableViewCell loaded from Xib.

The floating header has alpha in its second top view to see it a bit.

A floating header is located above the hint dialog for UITextView

Here's what it looks like in the Debug View Hierarchy:

enter image description here

+7
ios uitableview
source share
2 answers

What if you did something like β€œpull” a UITextView from the table when the user exits it. You can align it on top and make a good transition to the editing state, perhaps with a table view showing a blurry overlay or something like that, but this will allow you to take control of the editing state instead of having it mostly in the hands of a UITableView that was not intended for multi-line editable cell content.

+5
source share

What if you send this UITextView to the front of the stack?

https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/index.html#//apple_ref/occ/instm/UIView/bringSubviewToFront :

I suspect that if it is behind its view, then that the auto-correction view may also obey the view index of the UITextView.

+4
source share

All Articles