Lock Portrait Orientation in Swift Playgrounds App Project

Hi,

I was wondering if there is a way I can lock the orientation of a Swift Playgrounds App Project (.swiftpm) to portrait. As there is no info.plist that I can edit the setting in.

Thanks!

Answered by chewethan in 710787022

Solved by editing supportedInterfaceOrientations in Package.swift

Accepted Answer

Solved by editing supportedInterfaceOrientations in Package.swift