Hy i'm having problem when using addSubview. Example code:
ParentView *myParentView = [[ParentView alloc] initWithNibName:@"ParentView " bundle:nil];
ChildeView *myChildeView = [[ChildeView alloc] initWithNibName:@"ChildeView" bundle:nil];
//... parent frame resized with setFrame lets say to x:0, y:0, W:320, H:411
[[myParentView view] addSubview: [myChildeView view]];
My chield when added is bigger then the parent, and do not resize it frame to parent bounds. I can't use "clip subviews" on the parent , and "Autoresize Subviews" seems not to work if parent frame do not resized again. Is there a property that make subviews resize automatically to it's parent bounds, without using setFrame on every child.