I have a utility view in the iPhone that has enough cell to scroll through it. Whenever I click on a cell instead of using the navigation controller behavior, I still want to display a subview.
The problem is that I can not calculate the CGRact at all, which is always centered in the page, because CGRect is calculated from the top of the table, and if I scroll the table and the cell Click on the subview will be connected to the screen
The solution can be easy, but I do not know if this is possible: Identify the current viewable area portion of UITWview and C-received frame and therefore the original size, then a building Sbwu based on such coordinates. Do you think this is possible without writing too much code?
Thanks Leonardo
Not adding your sub-view as a simple solution UITableView's subview but its parent (or main application window) instead of doing so:
[myTableView addSubview: mySubView];
Please:
[[MyTableView Supervisor]]] [MySubView];
Comments
Post a Comment