开发者

How to hide the entire UITableView

开发者 https://www.devze.com 2023-01-24 03:35 出处:网络
I\'m trying to create combobox type interface so that user can select an item开发者_运维技巧 from a list.

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

精彩评论

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