开发者

Shrink UITableView to accommodate another small UIView

I have a UITableView inside of a UIViewController. I want to shrink the length of the table view dynamically in the code so that when I click on a row, a view slide down from below and covers a small part of the view form bottom.

Using core animation I am able to slide a开发者_高级运维 UIView from below on top of the table view but I want to resize the table view so that the new UIView that slides from below does not obscure any of the rows in the table view.

I tried changing the height of the frame of the table view but its not working.

Any ideas what am I missing here or what are the common ways to do it?

Thanks


Simply setting the correct frame on your table view should work :-)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜