Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about size-classes

Read more about size-classes

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - size-classes

How can I change screens layout for landscape and portrait in iOS

I have totally different layouts for landscape and portrait. In portrait the screen does not have the menu view of full height and half width on left and in landscape the screen contains the menu view...
test-img

Faaiz Daag

ios

swift

landscape

size-classes

portrait

Votes: 0

Answers: 2

Latest Answer

You can do it programmatically, declare your menuContainer view under your class controller like that: let menuContainer: UIView = { let v = UIView() v.backgroundColor = .lightGray v.alpha...
test-img

Fabio

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved