This is because, I think, the tag has to be an integer or a String, and cannot be a mix. So, yes, when I suggested you use a nil and the rest as Strings I was incorrect, but I'm doing this without using Xcode and going from memory.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
No need to delete the post, as like you said, someone else may stumble across this and get the answer.
Also, you can only edit your posts within an hour.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Lols :)
Topic:
App & System Services
SubTopic:
General
Ha, sorry Claude. I posted my tidy-up of his code and completely forgot to fix his issues :)
Topic:
Developer Tools & Services
SubTopic:
Xcode
I can't remove your post, and there's no reason to. I'm not an Apple employee. These forums are primarily for developers writing apps for Apple's platforms to discuss code issues and ask for help. While some Apple staff do appear, this isn't their day job, and they do it as a friendly courtesy to us all.
Topic:
Community
SubTopic:
Apple Developers
Tags:
Yeah, I figured that out a while ago. Forgot I'd still got this outstanding.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
I did originally suggest this approach, then changed my mind as it seems like overkill for this task :)
Topic:
Programming Languages
SubTopic:
Swift
Tags:
If the user clicked it, they clearly received it.
Besides, can't you just assume that a notification is actually sent? We assume lots of things, why would you need to confirm this specific thing?
Topic:
Safari & Web
SubTopic:
General
Tags:
This reply disappeared, then reappeared, and the two code blocks have been munged together, with the text that I'd put in-between placed above them. Forum bugs ahoy!
Topic:
Accessibility & Inclusion
SubTopic:
General
Tags:
Obviously I did that at almost midnight, so the ternary operators on lines 4 & 9 are not required, neither is the .disabled modifier on line 3 :)
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Dude, try it for yourself! Add a privacy manifest file as I've suggested. Add the right keys and values for your project your code, not the SDKs), and build it.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
Yep, and the "App Store Connect Engineer" assumes it's just a normal post...
It's dumb. I could be mean and say it was written by Apple Intelligence...
Quinn, that "a thread" url you added is for this thread...
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Add your solution as a reply (not a comment), then mark it as the answer, and others will know this worked for you so it might help them.
Answered posts are helpful for others because they know there was a solution to the issue.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: