Post

Replies

Boosts

Views

Activity

Reply to How to stay narrow on an iPhone Duo?
You could use a an ArrangementView and have your app content in primary and for secondary a view that directs people to put another app there. I am unsure if this would be accepted per the app guidelines however
Topic: SwiftUI SubTopic:
iPhone Duo SwiftUI Q&A
3h
Reply to How should `ArrangementView` behave across iPhone Duo display modes?
@Environment(.horizontalSizeClass) private var hSizeClass sorry again that didn't keep After I posted again
Topic: SwiftUI SubTopic:
iPhone Duo SwiftUI Q&A
Replies
Boosts
Views
Activity
3h
Reply to How should `ArrangementView` behave across iPhone Duo display modes?
You can check if the size class is .compact so it is one screen or .regular where it is both using You can use that to determine controls while in compact mode
Topic: SwiftUI SubTopic:
iPhone Duo SwiftUI Q&A
Replies
Boosts
Views
Activity
3h
Reply to Determine which screens are displayed in ArrangementView
Sorry can't edit for some reason it removed getting that variable @Environment(\.horizontalSizeClass) private var hSizeClass
Topic: SwiftUI SubTopic:
iPhone Duo SwiftUI Q&A
Replies
Boosts
Views
Activity
3h
Reply to Determine which screens are displayed in ArrangementView
If hSizeClass == .regular { // Unfolded } else { // folded }
Topic: SwiftUI SubTopic:
iPhone Duo SwiftUI Q&A
Replies
Boosts
Views
Activity
3h
Reply to How to stay narrow on an iPhone Duo?
You could use a an ArrangementView and have your app content in primary and for secondary a view that directs people to put another app there. I am unsure if this would be accepted per the app guidelines however
Topic: SwiftUI SubTopic:
iPhone Duo SwiftUI Q&A
Replies
Boosts
Views
Activity
3h