I load a view from a nib, this view has several subviews,and are on the xib. Once I load this view from nib, I tried to change the subviews frame by using: view.subLabel.frame = CGRectMake(). However, this does not work and I do not know why. I disabled the autolayout property of the xib and it does not work as well. Anyone knows how to change views frame loaded from xibs? Thank you.
codes for init and change frame are as follows:
Init: GADNativeContentAdView *adView = [[[NSBundle mainBundle] loadNibNamed:@"loadingContent" owner:nil options:nil] firstObject];
Then change frame: adView.logoView.frame = CGRectMake(0, 0,50, 50);
but this does not work.