Post

Replies

Boosts

Views

Activity

Reply to Guideline 4.3(b) - Design - Spam
Yes, but is it spam? Are there too many similar dating apps on the Apple App Store already? What reasons were given for the rejection? Have you thought about adding extra features to differentiate your app from the others?
Topic: Design SubTopic: General
3w
Reply to Beta 5 hardEdge Scrollstyle blurs my whole table
We random developers cannot see your feedback, so we can't see your videos. You cannot see my feedback reports either, so... The best way to report something here and in the Feedback Assistant is to explain the issue fully in both places. On here, we'll be able to see the issue, and maybe one of us has a solution or workaround that you hadn't thought of. On the Feedback Assistant, Apple has a record and will get around to fixing the issue for all of us, if it is indeed an issue.
Topic: UI Frameworks SubTopic: UIKit Tags:
3w
Reply to encountering a console warning when accessing NSUserDefaults within the willFinishLaunchingWithOptions method. However, it appears that all the key values are loading correctly despite the warning.
Does the warning appear in the Xcode console with a yellow background? I've seen this one before in my own apps, and I'm sure it's also been mentioned on these forums before, so please do a search first, but I think it's okay to ignore. I believe it's an internal Apple warning. You can raise a Feedback report to them and they'll look at fixing the issue and removing the warning/logging: https://feedbackassistant.apple.com/ (post the FB number here if you do).
Topic: App & System Services SubTopic: General Tags:
3w
Reply to How can I force a function only runs once during the whole app lifecycle?
I think it may be because your code doesn't synchronize() the change to the defaults, so it doesn't save it immediately. You could add a call to defaults.synchronize(), but you'd still be running this code every time the view is drawn (in .onAppear). That's a code smell; you're doing it in a place that can be executed multiple times within the app's lifetime, which opens you up to exactly the sort of behaviour you're experiencing. A better way to do this is to move it to the main app startup, e.g.: @main struct MainApp: App { init() { // Is this the first launch of the app? if(defaultsGetIsFirstLaunch(version: 6)) { // Generate sample data... defaultsUpdateIsFirstLaunch(version: 6, value: false) } } } func defaultsGetIsFirstLaunch(version: Int) -> Bool { defaultsGetBool(forKey: "firstLaunchVersion\(version)", withFallback: true) } func defaultsUpdateIsFirstLaunch(version: Int, value: Bool) { defaultsSet(value as Bool, forKey: "firstLaunchVersion\(version)") } func defaultsGetBool(forKey key: String, withFallback fallback: Bool) -> Bool { guard let value = UserDefaults(suiteName: "myappgroup")?.object(forKey: key) else { return fallback } return value as? Bool ?? fallback } func defaultsSet(_ value: Any, forKey key: String) { UserDefaults(suiteName: "myappgroup")?.set(value, forKey: key) UserDefaults(suiteName: "myappgroup")?.synchronize() } Note: I abstract the defaults functions out to their own methods, as above, so I have a method that gets a Bool from the defaults, one for an Int, one for a String etc., and a single method that sets a value in the defaults. The get functions take a 'fallback' value, so if the value hasn't been set yet, it will return the fallback value instead. So... In the code above, it runs in the main app's init() function. It checks if this is the first launch and passes in true if the key hasn't been set yet. It hasn't, so it returns true - this is the first launch of version 6. We generate the sample data, then we set the defaults value to false. The next time you run the app, the key has been set to false, so the code doesn't run anymore.
Topic: Design SubTopic: General
3w
Reply to OS APPLE WATCH
Need more info. Which version of watchOS is the Watch on? If you also upgraded your Watch to watchOS 26, you cannot downgrade to watchOS 18. You state that you cannot connect the Watch with the phone, but you don't say why not. What's stopping you? Is there an error message on the Watch? On the iPhone?
Topic: Community SubTopic: Apple Developers Tags:
3w
Reply to Apple face
Your posts appear to be spam. If you're attempting to advertise your new app to us, please do not bother. We don't want to know. That's not what these forums are here for. Also, you've picked random tags for your posts, which just pollutes those various sections unnecessarily. Please be a better person on the internet.
3w
Reply to Cannot Access iCloud Drive for 2 months now-- Please help!
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. We are not employees of Apple. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. And, when you ask your question over there, add some useful info, like how you're trying to access the files, what files, where. Are you using Finder? Have you tried creating a new user on your Mac and signing into iCloud on that new account? All this is relevant info. Thanks.
Topic: Community SubTopic: Apple Developers Tags:
3w
Reply to My phone has been compromised it has a hidden Vodafone uk profile on it and has remote access
Prove it. All you've done is posted a load of text that's hard to read because you haven't bothered to format it in any way. There's no mention of Vodafone in that text, and if the profile is "hidden" then how do you know it's there? If it's in your installed profiles list, then it's not hidden. Are you on Vodafone UK? Was the iPhone originally a Vodafone device? Too much information is left out for anyone to be able to help, and anyway... You're in the wrong place for your paranoia. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. We're not here to debug your device.
3w
Reply to Bug
Installing iOS 26 would be completely unrelated to this. Also, why would you think it's iOS that caused it? Meta are the ones sending you the notifications, so you should raise any issues with them, not Apple, and not us random Developers on these forums. Meta restricted your accounts for a reason - ad that reason is shown in that first screenshot. It is totally inappropriate for these forums.
3w
Reply to RECOLLECTING CODE FROM UPLOAD????
I can't help you with the first part, but your second part makes no sense. You're saying the developers only have your app's source code for an old version, but they uploaded the latest version of the app, so they must have had the source code for the latest version in order to build it and submit it to the App Store. You cannot take the built version from the App Store and get the source code from it. That's not how it works. Source code for apps is not uploaded to the App Store. The source code will be with your developers, so you will have to get the latest version from them. If they claim they don't have it, well that's not something we can help you with in the Developer Forums, sorry.
3w
Reply to Un enroll
You want to leave the Developer Program? Turn off auto-renewal at https://developer.apple.com/account/ You'll still have access to the Developer Program until the end of your membership year. If you want to turn off betas, just go into Software Update and turn off "Beta updates".
3w