开发者

Have 2 different TableViews in one UIView

开发者 https://www.devze.com 2023-01-18 22:23 出处:网络
I have 2 tableviews in my view right now. One is grouped: where I can press and push to another view(like a menu)

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消