xcode6 - Xcode 6 Image not Visible on larger screens -


i using xcode 6.1.1. image universal(2x) used in 1 of view-controllers.

it visible on small screen sizes(till 4.7 inch), not on larger screens. reason?

           location: relative group,             devices: universal,             width: any,             height: any,             types: bitmaps,             render : default 

welcome stackoverflow,

the first thing need enable size class options in file inspector in xcode 6 storyboard. (xcode 6 has changed way lot xcode 5).

enter image description here

(check use size classes here)

the way setting constraints has changed way better.

have @ 2 way of constraints can set up.

enter image description here

enter image description here

you might have noticed former size class, can set constraints layouts. (which mentioned below base values). later meant iphones in potrait , landscape mode.

for enabling constraints different layouts. need install these layouts attributes inspector in storyboard.

see have checked wc hany means width compact height any

(see have checked wc hany means width compact height any)

in xcode 6, support 9 resolutions hierarchy level of applying constraints.

                  wc hc                   wc hany                   wc hregular                   .                   .                   wany hany                   .                   .                   wregular hregular 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -