Hello! Since installing Xcode 14, I am now getting the following error message printed in my console:
NavigationLink presenting a value must appear inside a NavigationContent-based NavigationView. Link will be disabled.
My app is structured as follows:
I have View A wrapped in a NavigationView. The Navigation View has a navigation link inside it that links to View B.
I have View B that doesn't have a Navigation View, but has a navigation link to View C. View B inherits the navigation view defined in View A
The warning is printed when I press the back button on View B, popping back to View A.
The warning goes away when I wrap View B in a NavigationView, but this of course now displays View B in two Navigation Views, which is not what I want.
I'm unsure why this warning is printing, because View B inherits the NavigationView defined in View A.
Post
Replies
Boosts
Views
Activity
Is there a way to hide the contact row on the Apple Pay Modal where it asks for email and phone number? For my case a user is already logged in at this point so I don't need to ask for this information again, nor do I want the user to change the email associated with the order.I have already triedrequest.requiredShippingContactFields = [.name]
request.requiredBillingContactFields = [.name]andrequest.requiredShippingContactFields = []
request.requiredBillingContactFields = []but neither of these worked