I have floating headers for my UITableView
(which I want). But it looks quite bad when the suggestion view for the UITextView
in the cell above is under the header.
Seems like no one has had this problem before. Any suggestions?
Both the header cell and UITableViewCell
is loaded from Xib.
The floating header have an alpha on its second topmost view so it's a bit see through.
This is how it looks in "Debug View Hierarchy":
2 Answers
Answers 1
What if you send that UITextView to the front of the stack?
I suspect that if it is behind the view below it, that the autocorrect view may also obey the view index of the UITextView.
Answers 2
What if you did something like 'pull' the UITextView out of the table when the user exits it. You could align it over the top and do a nice transition to the editing state perhaps with the table view showing through a blurred overlay or something, but that would allow you to take control of the editing state instead of having it mostly in the hands of the UITableView which was not really designed for multi-line editable cell content.
0 comments:
Post a Comment