QuickAnswer
by

Swift Fix the app vertically

Swift Fix the app vertically

When you want to fix the layout vertically in iPhone application development.

Swift 5.3.2
Xcode 12.4
iOS Target 14.4
macOS 11.2.3 BigSur

Procedure to fix vertically

Select the project name in the left sidebar of Xcode and select the project name of TARGETS

General Tab

Change the Device Orientation in the Deployment info field.

initial value:
1 Portrait
0 Upside Down
1 Landscape Left
1 Landsape Right

After change:
1 Portrait
0 Upside Down
0 Landscape Left
0 Landsape Right

CONTENTS
Web Browser