开发者

Quick Question With UIView's Frame

开发者 https://www.devze.com 2023-03-22 20:15 出处:网络
I have a UIView that I\'m using as a subView of the main UIView. This 开发者_运维知识库is what it looks like:

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

精彩评论

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