开发者

How to hide the entire UITableView

I'm trying to create combobox type interface so that user can select an item开发者_运维技巧 from a list.

But I'm unable to hide the table after the selection is made. Any idea how that can be done ?

thx


You can set the tableView.hidden property or even better, change the frame property to CGRectZero()


Here after your selection done.

In your Didselectrow Method You can hide your Tableview with property of Hidden like.

tableview.hidden = true;

and When you click your combobox that time you should show again your tableview.

tableview.hidden = false;

Thanks.


self.tableView.hidden = YES;

This may help you in solving your problem.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜