Post

Replies

Boosts

Views

Activity

Reply to Can't get a simple network call working. Novice developer.
init?(string: String) returns an optional value. guard let url = URL(string: "https://...") else { return } let request = URLRequest(url: url) URLSession.shared.dataTask(with: request) or guard let url = URL(string: "https://...") else { return } do { let (data, _) = try await URLSession.shared.data(from: url) } catch { }
Topic: Design SubTopic: General
Sep ’25
Reply to Help with Passkey Registration & Authentication on iOS 17 (Credential Provider + Error Code 1004)
I think Error Code 1004 suggests that you have entered your domain incorrectly somewhere. What is your associated domain, and what's the domain that you give to ASAuthorizationPlatformPublicKeyCredentialProvider(relyingPartyIdentifier: )? And what's the domain stated in your apple-app-site-association file? The domain has to be consistent in all these places.
Topic: Privacy & Security SubTopic: General Tags:
Sep ’25
Reply to Incorrect color for inline navigation bar title when dark mode AND reduce transparency ON.
You can customize the title text color and the background color of the navigation bar like the following for a workaround. import SwiftUI struct ContentView: View { @Environment(\.colorScheme) var colorScheme var body: some View { NavigationStack { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundStyle(.tint) } /* .navigationBarItems( trailing: Text("Trailing").foregroundStyle(.yellow) ) */ .navigationBarTitleDisplayMode(.inline) .toolbar { ToolbarItem(placement: .principal) { Text("GGGGGGG") .font(.title) .bold() .foregroundColor(colorScheme == .light ? .white : .black) } } .toolbarBackground(colorScheme == .light ? .black: .white, for: .navigationBar) .toolbarBackground(.visible, for: .navigationBar) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’25
Reply to Incorrect color for inline navigation bar title when dark mode AND reduce transparency ON.
You can customize the title text color and the background color of the navigation bar like the following for a workaround. import SwiftUI struct ContentView: View { @Environment(\.colorScheme) var colorScheme var body: some View { NavigationStack { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundStyle(.tint) } /* .navigationBarItems( trailing: Text("Trailing").foregroundStyle(.yellow) ) */ .navigationBarTitleDisplayMode(.inline) .toolbar { ToolbarItem(placement: .principal) { Text("GGGGGGG GGGGGGG") .font(.title) .bold() .foregroundColor(colorScheme == .light ? .white : .black) } } .toolbarBackground(colorScheme == .light ? .black: .white, for: .navigationBar) .toolbarBackground(.visible, for: .navigationBar) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’25
Reply to Review rejected hidden features、web game and web payment
in the last package we submitted for review, it was confirmed... That's never going to help, unfortunately. One reviewer accepts something, and another rejects it. That's because their guidelines can change. Also, it's possible that the first reviewer has simply made a mistake accepting your app. If you take it to the appeals board, I guarantee that they will reject your claim with a simple, flat rubber stamp without giving you a reason. And that will be the end of your app. You have to convince the reviewer somehow. But I wouldn't waste my time and would rather move on with my life. Just for your information, I've been in this business for 14.5 years.
Topic: Community SubTopic: Apple Developers Tags:
Sep ’25