on any other device we use this code to set all views in landscape and everything fits great :
float width=[UIScreen mainScreen].bounds.size.width;
float height= [UIScreen mainScreen].bounds.size.height;
on the iPad 2 only
, in order to make it work on landscape we have to swap the width and height
, otherwise he puts views on portrait and they seems ugly.
Why is it happens only in iPad2 ?