top margin iphone5c
This commit is contained in:
parent
73a441a28c
commit
b7cc1e9f56
|
@ -152,7 +152,7 @@ private class ExperienceUpgradeViewController: OWSViewController {
|
|||
// Image layout
|
||||
imageView.autoPinWidthToSuperview()
|
||||
imageView.autoSetDimension(.height, toSize: ScaleFromIPhone5To7Plus(200, 280))
|
||||
imageView.autoPinEdge(.top, to: .bottom, of: titleLabel, withOffset: ScaleFromIPhone5To7Plus(24, 32))
|
||||
imageView.autoPinEdge(.top, to: .bottom, of: titleLabel, withOffset: ScaleFromIPhone5(32))
|
||||
imageView.autoPinEdge(.bottom, to: .top, of: bodyLabel, withOffset: -ScaleFromIPhone5To7Plus(18, 28))
|
||||
}
|
||||
}
|
||||
|
@ -269,7 +269,7 @@ class ExperienceUpgradesPageViewController: OWSViewController, UIPageViewControl
|
|||
// negative inset so as to overlay the header text in the carousel view with the header background which
|
||||
// lives outside of the carousel. We do this so that the user can't bounce past the page view controllers
|
||||
// width limits, exposing the edge of the header.
|
||||
carouselView.autoPinEdge(.top, to: .bottom, of: headerBackgroundView, withOffset: ScaleFromIPhone5(-35))
|
||||
carouselView.autoPin(toTopLayoutGuideOf: self, withInset: 16)
|
||||
carouselView.autoPinEdge(.bottom, to: .top, of: dismissButton, withOffset: ScaleFromIPhone5(-10))
|
||||
}
|
||||
|
||||
|
|
|
@ -1112,7 +1112,7 @@
|
|||
"PROFILE_VIEW_PROFILE_DESCRIPTION" = "Your profile affects how you will appear to other users if you are not in their contacts.";
|
||||
|
||||
/* Link to more information about the user profile. */
|
||||
"PROFILE_VIEW_PROFILE_DESCRIPTION_LINK" = "Click here to learn more.";
|
||||
"PROFILE_VIEW_PROFILE_DESCRIPTION_LINK" = "Tap here to learn more.";
|
||||
|
||||
/* Label for the profile name field of the profile view. */
|
||||
"PROFILE_VIEW_PROFILE_NAME_FIELD" = "Profile Name";
|
||||
|
|
Loading…
Reference in New Issue