iPhone. How to get the rect of parent view?
Posted
by flexbyte
on Stack Overflow
See other posts from Stack Overflow
or by flexbyte
Published on 2010-06-11T16:43:54Z
Indexed on
2010/06/11
17:12 UTC
Read the original article
Hit count: 179
Hi,
My application creates two views:
- topView (CGRect = 0,0, 320,60)
- bottomView (CGRect = 0,60, 320,480)
Bottom view creates UITabBarController with UIViewControllers:
- ListViewController
- etc...
ListViewController has own views that are created in viewDidLoad method:
background = [[UIImageView alloc] initWithFrame: rect ];
So my question is how to get the bottomView rect inside ListViewController? I want to layout all controller views without intersection with topView.
Thank you.
© Stack Overflow or respective owner