The only solution I found is, Implement viewDidLayoutSubviews
It will invoke the layoutSubviews
method just after the view is loaded..
- (void)viewDidLayoutSubviews
{
@try
{
// Adjusting controls.
}
@catch (NSException *exception)
{
NSLog(@"%s
exception: Name- %@ Reason->%@", __PRETTY_FUNCTION__,[exception name],[exception reason]);
}
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…