When I was making the map page, I got the height and width of the screen to create the size of the picture. why did the picture have no problem on 5 6 and 6plus, and changed on 4 and 4s?
CGSize screenSize = [UIScreen mainScreen].bounds.size;
CGFloat contentWidth = screenSize.width * 4;
CGFloat contentHeight = screenSize.height;
self.scrollView.contentSize = CGSizeMake(contentWidth, contentHeight); for (int i = 0; i < 4; I plus) Uiimageview * temp = [[uiimageviewalloc] initthimage: [uiimageimagenamed: [nsstringstringwithformat: @ "percentage d", i]]; CGRect pageFrame = CGRectMake(i * screenSize.width, 0, screenSize.width, screenSize.height); temp.frame = pageFrame; [self.scrollView addSubview:temp]; bracket
The Adaptation of iphone4s and Apple iphone5 in ios7.1 Version
Let’s see if this is the reason. Because I have encountered this problem twice, ios7’s launchscreen image needs to be set.