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!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22
Reply to PencilKit ColorPicker in ToolPicker color mode mismatch
Same here, still experiencing this issue.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to TextField Binding
You should try $textModel.name.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Lock Portrait Orientation in Swift Playgrounds App Project
Solved by editing supportedInterfaceOrientations in Package.swift
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
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!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22