ios - ipad Landscape - Showing a controller which has space on both sides -


enter image description here

i have collection view controller (blue coloured screen in image). there collection view on it. on click of each of cell, want controller open grey coloured one. should happen on ipad landscape mode. in potrait mode, grey coloured screen should occupy full screen.

can please me?

add constraints these shown in images.

drag vollection view enter image description here add top alignment constraints respect view enter image description here same wise set constraints left right , bottom. , click button add constraint @ bottom. enter image description here here final view. enter image description here

now these constraints applied regardless of nature of device , portrait , landscape mode. if have query write in comment. if served purpose accept answer. luck


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -