开发者

Make a UITableView disappear temporarily?

开发者 https://www.devze.com 2022-12-22 14:45 出处:网络
I have a UITableView overlaying over a UIMapView so you can select a specific building from the table and it shows you where it is on the map. Now that is working fine, but when the iPhone is in portr

I have a UITableView overlaying over a UIMapView so you can select a specific building from the table and it shows you where it is on the map. Now that is working fine, but when the iPhone is in portrait mode there is not a lot of space to see the map so I am trying to put in a button to make the table appear and disappear as the user wants.

Does anybody kno开发者_StackOverflow社区w if this is possible?


// To hide
table_view.hidden = YES;

// To show
table_view.hidden = NO;
0

精彩评论

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

关注公众号