ios - ipad Landscape - Showing a controller which has space on both sides -
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
add top alignment constraints respect view
same wise set constraints left right , bottom. , click button add constraint @ bottom.
here final view. 
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
Post a Comment