开发者

Quick Question With UIView's Frame

I have a UIView that I'm using as a subView of the main UIView.

This 开发者_运维知识库is what it looks like:

I need to do something like this, but I can't get the coordinates right. Any ideas?

[myTableViewController.view setFrame:CGRectMake(0, 40, self.view.frame.size.width, 1000)];


What about this:

myTableViewController.view.frame=CGRectMake(0.,40.,self.view.fazer.size.width,self.view.frame.size.height-40.);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜