Ok, thx. Code exists is legacy and from a much earlier version. I will take it out. However, if I move
.alert(isPresented: $disabledAlert, content: {
Alert(title: Text("Network Error"), message: Text("You aren't connected to the internet, please connect to use Pickt."), dismissButton: .default(Text("Ok"), action: {
disabledAlert = false
presentationMode.wrappedValue.dismiss()
}))
})
to be a child of
AlertControlView(textString: $blank, showAlert: $enterLoc, textPlaceholder: $textAlertFieldPlaceholder, title: "Error", message: "Please enter location to continue.", onDone: { loc in
location = loc
create()
}, onCancel: {
enterLoc = false
creating = false
})
Post
Replies
Boosts
Views
Activity
Here is the entire file:
Create Party.txt
Can you please share your Article Struct?
Not really
Try updating to Xcode 13.2.1
Please make sure you are on Xcode 13.2.1 and try again.
Try looking through this: https://www.hackingwithswift.com/books/ios-swiftui/colors-and-frames
Preview often breaks, wait until Xcode 13.3 I guess. You can also try deleting Xcode, then all the preview data and then reinstalling Xcode.
Pls ask this on the apple forums and not the developer forums. We cannot really help you and this is an outlet for developers to get help on Xcode and it's tools as well as issues with code.
Contact apple dev support
Clean build data and delete Derived Data?
Do you know why it was taken down? Try checking the resolution center in App Store Connect.
Yes, but new frameworks are just not built into older versions and therefore will not compile the project.
.onDisappear did not work, but .onAppear did. Thx so much!
Update: Until Monterey had come out, the non-beta would not work.