Have 2 different TableViews in one UIView
I have 2 tableviews in my view right now. One is grouped: where I can press and push to another view(like a menu) the other one is plain: where I want to show the searchresults
I know I can use the displaycontroller but I don't know how to show the results on the table
Can someone tell me more about this??
开发者_JAVA百科Thanks in advance
You are showing only one tableview at a time right?
A tableview's style cannot be changed once created. If you want to avoid creating two tableviews in IB, you can instead create one tableview at runtime. When creating the tableview, you can tell it what style you want using its initWithFrame:style:
method.
精彩评论