UIImageview programmilly manage for iphone5 and iphone4
I have an Issue about UIImageView Manage by XIB file for iphone5 screen Height and Iphone4 Screen Height. I Try to Manage code for UIImageView like this ~ CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height; if ([UIScreen mainScreen].scale == 2.f && screenHeight == 568.0f) { backgroundImage.autoresizingMask=UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth; frameView.autoresizingMask=UIViewAutoresizingFlexibleHeight; backgroundImage.image = [UIImage imageNamed:@"bg-568h@2x.png"]; //frameView.frame=CGRectMake(16, 0, 288, 527); frameView.image = [UIImage imageNamed:@