Post

Replies

Boosts

Views

Activity

Reply to Block rotation & fix landscape for .swiftpm
You can open 'Package.swift' and under supportedInterfaceOrientations which should be supportedInterfaceOrientations: [                 .portrait,                 .landscapeRight,                 .landscapeLeft,                 .portraitUpsideDown(.when(deviceFamilies: [.pad])) ] remove .portrait' and '.portraitUpsideDown(.when(deviceFamilies: [.pad])), and therefore the final code should be supportedInterfaceOrientations: [                 .landscapeRight,                 .landscapeLeft, ] Hope that helped!
Apr ’22