Posts

Post not yet marked as solved
2 Replies
Something I thought of was perhaps .offsetting the NavigationLinks that I want to be conditional to match the UI I want, but this is also really hacky and comes with other problems. Is there really no solution for this?
Post marked as Apple Recommended
Thanks Jim. I guess this will suffice for now, I'll probably continue with sizeClasses for iPhone in general and drop to this UIKit solution for iPad when necessary.
Post marked as solved
11 Replies
Thanks Jim! This is great, the only problem I have is that if, for example, I navigate to a new view that has .supportedOrientations(.landscape) from a portrait view, it won't force it to landscape automatically. I'm sure there is some sort of forceRotate function we can run to make it landscape in those cases.