ios - TextField superposed in tableview -
I initially load hidden tableview with some data and show that when I press a button, simulate a drop down menu.
In a single view, I have a UIButton , which is pressed, creates another UIButton and UITextField .
The problem is that when I reload, then tableview and all textField s and buttons s Is superposed
This is what happens:
My question is what can I do to keep tableview in front of the view.
When you do -addSubview: , view the most views Is added as
that are appearing above your newly added textField s your tableView .
The Fastest Way
Example:
To solve your problem, tableview make the most views at the top would to. Example: [YourTableView sethead: NO]; [Self.view LaosVivio Toufrant: yourTableView];
Assume that yourTableView in
self.view >
Comments
Post a Comment