Running screenmark restrictions in iOS Universal

I am working on a file LaunchScreen.storyboardfor the universal iOS application in Xcode 7.3.

I should use only the restrictions defined in the storyboard, because the launch screen will be shown before the application is loaded (cannot programmatically program the restrictions in the subclass UIViewController).

The background image in the main UIViewControllerhas

  • aspect ratio ( 3456:2592),
  • vertical center and
  • central horizontal restrictions.

I am trying to get the following conditions:

  • Maintain background aspect ratio
  • activate backgroundImageView.Top = containerView.Topwhen screen width <= screen height enter image description here
  • activate backgroundImageView.Leading = containerView.Leading - 20when screen width> screen height enter image description here

, , , a > /< = (: iPad Air Fullscreen , & a > ).

, , iPhone/iPad x1, x2 x3 .

+4
1

. UIImageView , " " UIImageView.

Select

:

enter image description here

, (1) (2) (3) .

+4

All Articles