Yep, I have seen that. But how to add a customize style for it, for instance, the rainbow effect in the session. Where should I add these styling code?
Post
Replies
Boosts
Views
Activity
Do you mean that I should create a new AttributeScope structure to include all my customize styles?
As I mentioned before, my project is written completely in SwiftUI, so how can I get the global safeAreaInsets? Because there is no UIViewController or UIView in my code.
When you select some texts, the edit menu will automatically shows up. On iPadOS, right click on a text do you have selected to automatically show up a menu.
please check out the session adopt desktop class editing interactions
The menu appears when you have selected some texts.
But I can’t find any item on the leading side of the navigation bar to navigate between views in the browser role.
Oh~~ I have found some differences after the navigationlink pushing!! I will add a new reply to show what I have found. Thank you very much!! Best regard😆
Are you kidding? The maximum OS version of iPhone 6 Plus is iOS 12😂
I did that. It seems like in a blank project, it works. But I have modified the sample code, which is called ComposingCustomLayoutsWithSwiftUI, and it has the same error behavior!!!!😔
It is definitely a bug!
Failed too :(
It's not a problem cause by modifier's order. In fact, If I only have one line of code inside WindowGroup, it can compile successfully.
In order to pack the modified view into one single, unmodified view. My solution is AnyView(ContentView().anyModifiers...). It works for me. @javiermares
I totally agree with you. Your assumption is correct.