Post

Replies

Boosts

Views

Activity

Comment on scenePhase not work consistently on watchOS
Glad you've fixed it. I always find it easier to log stuff out to see whether I'm missing some other state. With regards to debugging and logging: 1. Make sure you pair a watchOS Simulator with an iOS Simulator in the "Devices and Simulators" window. 2. Run your iOS target on the iOS Simulator. 3. Run your watchOS target on the watchOS Simulator that's paired to that iOS Simulator. 4. The output should be displayed in the console window as usual.
1d
Comment on Localizing your apps
Claude doesn't have to direct you anywhere other than not here. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. We don't advertise apps on here; that's not what these forums are for. Go to any Mac/iPhone app related forums.
3w
Comment on NSuserdefault issue after restart my iphone
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:
Jun ’25