I have a screen in landscap mode. which for example has 3 labels that I am adding through code.
UILabel *x1 = [UILabel allow]initwithframe:CGRectMake(10, 150, 100, 40)];
UILabel *x2 = [UILabel allow]initwithframe:CGRectMake(110, 150, 100, 40)];
UILabel *x2 = [UILabel allow]initwithframe:CGRectMake(210, 150, 100, 40)];
now with the iOS6 and 4 inch screen, the labels are very much to the left.
Is there a neat way to align labels relatively through some percentage trick, that will position my labels accordingly in both iphone 4 and iphone 5?
Please note the above is just an example, I actually have lots of labels that I need positioned and spaced out relative to each other and the size of the screen.
NOTE
Also I do not want to resize my labels, I want to space them and move them accordingly