Post

Replies

Boosts

Views

Activity

Reply to scenePhase not behaving as expected on screen lock
Coupe of things here. I'll assume you've set scenePhase using: @Environment(\.scenePhase) private var scenePhase If so, you don't need phase in; you can simply refer to scenePhase, i.e.: .onChange(of: scenePhase) { if(scenePhase == .active) { Secondly, scenePhase does not equal UIApplication.shared.applicationState. An application can be active and a scene can be inactive. That's why you're seeing your debug output. The app goes into the background after a few seconds, to allow you to complete any processing you needed to do - writing to a file, or database, whatever. The scene will go into the background before the app. Do you really need to know if the app state has changed, or the scene? It seems you're mixing two things here.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’25
Reply to .onAppear and .task code not running
Where is view6 in your switch statement? Where is view defined? I'd rename it to something else: "view" is too generic, and could be mistyped to "View". Do View1() through View5() actually display anything? Secondly, it's .onAppear {} not .onAppear() {}.
Topic: Design SubTopic: General Tags:
Mar ’25
Reply to Issue Setting up Appstore Information
Please don't create multiple posts about the exact same issue. Besides, this isn't the place for your post. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums, and please don't post images containing your personal information.
Mar ’25
Reply to HomeKit
Cheers for your rant, but you're in the wrong place. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Topic: Community SubTopic: Apple Developers Tags:
Mar ’25
Reply to NSString initWithFormat crash on ios18
You should probably raise this as a bug in the usual way. It won't really get progressed if it's only posted in these Developer Forums. You need to raise each issue you find separately at https://feedbackassistant.apple.com/ You can post the FB numbers here if you want, so that others can link to them.
Topic: App & System Services SubTopic: General Tags:
Mar ’25
Reply to scenePhase not behaving as expected on screen lock
Coupe of things here. I'll assume you've set scenePhase using: @Environment(\.scenePhase) private var scenePhase If so, you don't need phase in; you can simply refer to scenePhase, i.e.: .onChange(of: scenePhase) { if(scenePhase == .active) { Secondly, scenePhase does not equal UIApplication.shared.applicationState. An application can be active and a scene can be inactive. That's why you're seeing your debug output. The app goes into the background after a few seconds, to allow you to complete any processing you needed to do - writing to a file, or database, whatever. The scene will go into the background before the app. Do you really need to know if the app state has changed, or the scene? It seems you're mixing two things here.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to .onAppear and .task code not running
Where is view6 in your switch statement? Where is view defined? I'd rename it to something else: "view" is too generic, and could be mistyped to "View". Do View1() through View5() actually display anything? Secondly, it's .onAppear {} not .onAppear() {}.
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to Finance Report 404 for Arcade game
Are you having one issue with the report or three, 'cos you created three very similar posts at the same time? There's no need to create duplicate posts. Just edit your original post. You can do so within an hour of originally posting it. If you're outside that 1-hour window, just reply to your own original post. Please don't clutter these forums.
Replies
Boosts
Views
Activity
Mar ’25
Reply to Issue Setting up Appstore Information
Please don't create multiple posts about the exact same issue. Besides, this isn't the place for your post. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums, and please don't post images containing your personal information.
Replies
Boosts
Views
Activity
Mar ’25
Reply to HomeKit
Cheers for your rant, but you're in the wrong place. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to NSString initWithFormat crash on ios18
You should probably raise this as a bug in the usual way. It won't really get progressed if it's only posted in these Developer Forums. You need to raise each issue you find separately at https://feedbackassistant.apple.com/ You can post the FB numbers here if you want, so that others can link to them.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’25