Yeah, even if it's just there during the beta period for a new major release, i.e. iOS 27, 27, 28 not 26.0.1 etc.
Post
Replies
Boosts
Views
Activity
Honestly wondering if it's because this was in a for loop, i.e. for c u e (read it out loud).
Topic:
Community
SubTopic:
Apple Developers
The point of my response was that if you use the Simulator you can see the plist file where the defaults are saved, and you can determine whether you were actually writing them (so the issue is in reading them), or if they weren't in the file the issue is in the writing.
You're saving a string 1 for a boolean pushIsYes. You should write and read it as a boolean with boolForKey. This can stop you accidentally mixing up values.
Topic:
App & System Services
SubTopic:
General
Tags:
They likely suggested you go to the product support forums, not the developer forums.
Topic:
Media Technologies
SubTopic:
General
You don't need to keep adding comments. You have a one-hour window in which to edit your post.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
You beat me by 9 seconds 😄
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
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:
Quinn, that "a thread" url you added is for this thread...
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
It's dumb. I could be mean and say it was written by Apple Intelligence...
Yep, and the "App Store Connect Engineer" assumes it's just a normal post...
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:
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:
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:
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:
I did originally suggest this approach, then changed my mind as it seems like overkill for this task :)
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Yeah, even if it's just there during the beta period for a new major release, i.e. iOS 27, 27, 28 not 26.0.1 etc.
- Replies
- Boosts
- Views
- Activity
Honestly wondering if it's because this was in a for loop, i.e. for c u e (read it out loud).
Topic:
Community
SubTopic:
Apple Developers
- Replies
- Boosts
- Views
- Activity
The point of my response was that if you use the Simulator you can see the plist file where the defaults are saved, and you can determine whether you were actually writing them (so the issue is in reading them), or if they weren't in the file the issue is in the writing.
You're saving a string 1 for a boolean pushIsYes. You should write and read it as a boolean with boolForKey. This can stop you accidentally mixing up values.
Topic:
App & System Services
SubTopic:
General
Tags:
- Replies
- Boosts
- Views
- Activity
They likely suggested you go to the product support forums, not the developer forums.
Topic:
Media Technologies
SubTopic:
General
- Replies
- Boosts
- Views
- Activity
You don't need to keep adding comments. You have a one-hour window in which to edit your post.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
- Replies
- Boosts
- Views
- Activity
You beat me by 9 seconds 😄
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
- Replies
- Boosts
- Views
- Activity
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:
- Replies
- Boosts
- Views
- Activity
Quinn, that "a thread" url you added is for this thread...
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
- Replies
- Boosts
- Views
- Activity
It's dumb. I could be mean and say it was written by Apple Intelligence...
- Replies
- Boosts
- Views
- Activity
Yep, and the "App Store Connect Engineer" assumes it's just a normal post...
- Replies
- Boosts
- Views
- Activity
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:
- Replies
- Boosts
- Views
- Activity
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:
- Replies
- Boosts
- Views
- Activity
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:
- Replies
- Boosts
- Views
- Activity
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:
- Replies
- Boosts
- Views
- Activity
I did originally suggest this approach, then changed my mind as it seems like overkill for this task :)
Topic:
Programming Languages
SubTopic:
Swift
Tags:
- Replies
- Boosts
- Views
- Activity