This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and join us in fostering a supportive community.

All subtopics
Posts under Community topic

Post

Replies

Boosts

Views

Activity

When navigationstack is using two times in SWIFTUI
Hello, I use Navigationstack in the first and second views. In this case, the second view is executed immediately and then disappears. Is there a solution? The code is as follows. device = i-phone struct ContentView: View { @State var path: [String] = [] var body: some View { NavigationStack(path: $path) { VStack { Text("Screen1") Spacer() Button(action: { path.append("2nd") }, label: { Text("go to 2nd Screen") }) } .navigationDestination(for: String.self) { s in if s == "2nd" { let _ = print("1st screen nav path(1) = \(path)") SecondScreen(path: $path) let _ = print("1st screen nav path(2) = \(path)") } } .onAppear { print("1st screen on appear") print("1st screen path = \(path)") } .onDisappear { print("1st screen on disappear") print("1st screen disa. path = \(path)") } .padding() } } } struct SecondScreen: View { @State var path2: [String] = [] @Binding var path: [String] var body: some View { NavigationStack(path: $path2) { VStack { Text("2nd Screen is loaded") Spacer() Button(action: { path2.append("3rd") } , label: { Text("go to 3rd Screen") }) Button(action: { path2.removeLast() } , label: { Text("back to 1st Screen") }) } .navigationDestination(for: String.self) { s in if s == "3rd" { // Text("3rd") thirdScreen() } else { thirdScreen() } } } .onAppear { print("2nd screen on appear") print("2nd screen path = \(path)") print("2nd screen path2 = \(path2)") } .onDisappear { print("2nd screen on disappear") print("2nd screen path = \(path)") print("2nd screen disa. path2 = \(path2)") } } } struct thirdScreen: View { var body: some View { VStack { Text("3rd Screen") } .onAppear { print("3rd screen on appear") } .onDisappear { print("3rd screen on disappear") } } }
0
0
197
Jan ’25
Apple support time
I have raised ticket on apple regarding distribution problem, I want to know what is the time period in which I will be able to get reply from apple suppport
0
1
324
Feb ’25
How to request several models simultaneously
I am using HelloPhotogrammetry in Xcode I can make one model with something like HelloPhotogrammetry.main([path_to_folder_of images, path_to_output/model.usdz, "-d", "medium", "-o", "unordered", "-f", "high" ]) But how would I request several models simultaneously? I only want to vary the detail. [ ("/Users/you/Desktop/model_medium.usdz", detail: .medium), ("/Users/you/Desktop/model_full.usdz", detail: .full), ("/Users/you/Desktop/model_raw.usdz", detail: .raw ]
0
0
71
Apr ’25
lowQualityThumbnail in QLThumbnailGenerator stops working from 15.2
Our code is using .lowQualityThumbnail to generate a thumbnail, it stops working when users update to 15.2 . Test it with a regular jpg file for fileURL. The only way to make it work is to change it to .thumnail or remove it. It's not deprecated, is it a MacOS bug? customers don't want to keep updating the software. Everything works in MacOS 15.1 import QuickLookThumbnailing func generateThumbnail(for fileURL: URL, size: CGSize, scale: CGFloat) { let request = QLThumbnailGenerator.Request(fileAt: fileURL, size: size, scale: scale, representationTypes: .lowQualityThumbnail) QLThumbnailGenerator.shared.generateBestRepresentation(for: request) { thumbnail, error in if let error = error { print("Error generating thumbnail: \(error)") } else if let thumbnail = thumbnail { // Use the thumbnail let image = thumbnail.uiImage // Do something with the image } } }
0
0
194
Jan ’25
Data Photo Files Emails Banks Transcations Orders
How to Check Apple Development, iCloud ,Apple ID or Apple Account got some criminal act with Old Business Partners System and Fake reality shows to Stole my system Identity and Money. Can hear the sounds from up area in the air! and the accents and contenxt very bad behavior act! i tried to stop them on 2022, I know who they are, they **** up the reality bank , hospital ,apartment fire and lobby packages systems. and they got seriously damaged the other contries and humans body healthy system! and all my creations works.
0
0
88
Jun ’25
No sound after updating.
I have updated my ipad 7th gen to ipados18.3 Beta last week and I realized that there is no sound at all no sound from speakers and no sound from bluetooth devices and no sound from airplay, I've checked google and reddit and alot of research people told me its a software bug, i submitted a bug report and now im still waiting for a bug fix update, youtube dosent work neither spotify aswell their UI stops working when i try to use it, So how long do i have to wait for a bug fix? Thanks apple.
0
0
264
Jan ’25
Enrollment Issue
“At this rate, I’m starting to get frustrated. I’ve registered for the developer program twice, but they’re still asking me for the registration fee, and my registration is not being approved. Moreover, I haven’t received any response to my emails, and since the information is limited in English, I can’t search for solutions. Could someone please take care of this issue now?”
0
0
376
Dec ’24
Adding segments/splits into workout
Hello, I am building a workout app that has an option to add segments to differentiate different stages of the training session. Segments are added the following way: func saveSegment(eventType: HKWorkoutEventType, startDate: Date, endDate: Date, inSeg: Int) async throws { let dateInterval = DateInterval(start: startDate, end: endDate) let event = HKWorkoutEvent(type: eventType, dateInterval: dateInterval, metadata: metadata) try await builder?.addWorkoutEvents([event]) } Inside Health -> Workouts -> Show All Data, the segments appear, but in Fitness app there are no segments. The workout is .paddleSports. I thought that maybe the workout type was the problem, but when I start the sessions from the native workout app, segments are added and shown in the Fitness app: In other posts I saw suggested to add an event as .marker instead of .segment, but the result is the same, it does not appear. Is there something I am doing wrong? How can I show the segments into the Fitness app? Another question, I would like to add stroke rate and stroke count to my paddling session, is there a way to add it? Paddle Sports workout was recently introduced and it would be great to have the option to add those values. Thank you in advance. Inaki
0
1
764
Jan ’25
Pilot Comms/headsets
Based a quick research, comfort and fit, noise cancellation issues and durability seems to be the most consistent issues with pilot headsets. I wouldn’t say there is a problem here, because you can easily throw out the faulty headset and spend another $1000 on a new one. However, what if apple can profit by introducing their version of pilot headsets? Besides, most airlines use Apple iPads for Navigation, crew scheduling etc. Make it a one stop shop. Apple already has the framework for music headsets, why not use it as a base for pilot headsets? Disrupt an already stagnant market and give pilots a great alternative. Tap into the interests of a new generation of pilots again most which already uses Apple products. Come up with a new fresh look of ‘pilot comms.’ A good idea is to pitch to the GA (general aviation) industry maybe include Apple headsets with the purchase of a new aircraft.
0
0
64
Jun ’25
Problem with deleting the MinimaList app
A question from an ordinary user for developers: The essence of the problem: I installed the To Do List by MinimaList app on both my MacBook and iPhone. After installing it, I decided not to use it and deleted the application. https://apps.apple.com/us/app/minimalist-to-do-list-widget/id993066159 However, it turned out that not everything was removed. Specifically: • In the “Allow Others to Find Me” section on both my MacBook and iPhone, these apps still appear. No matter what I do—whether I delete or clear them—they continue to be displayed there. • This app continues to appear in the section located at: Settings → Apple ID → iCloud → Stored in iCloud → See All → Allow Finding Me – To Do List and one more item. • It cannot be deleted. • It won’t delete on my MacBook, and it won’t delete on my iPhone. • It also appeared in iCloud itself under the Email Search section. P.S. The official Apple support (without violating any internal regulations) advised me to post on the forum to get in touch with Apple developers. In hope, I am posting this question here.
0
0
222
Feb ’25
MacBook Pro M1 - 15.5 Kernel Panic when waking from sleep
Hi, EtreCheck I could really use some help with this, as I haven’t been able to find much concrete info. I mistakenly updated my MacBook to the 15.5 beta, and while I can’t say with 100% certainty that the issues started immediately after, I’ve been experiencing consistent kernel panics every time the machine wakes from sleep — it restarts completely and throws an error. I’m really hoping this isn’t a hardware issue. The MacBook is just over two years old, and I rely on it daily for work — replacing it right now isn’t an option. Unfortunately, I don’t have a Time Machine backup to roll back to. I’ve already wiped the machine and reinstalled macOS via recovery mode, and Apple Diagnostics isn’t showing any hardware problems. Just to rule it out: I’m not using any external devices — no docks, Thunderbolt accessories, or anything else plugged in. I came across EtreCheck as a recommended tool, and I’ve included the results below. If anyone is able to help interpret them or point me in the right direction, I’d really appreciate it. I’ve since unenrolled from the beta and turned off automatic updates — I’m just hoping this is a beta-related bug that resolves with the next stable release. Thanks in advance for any guidance.
0
0
467
Apr ’25
Firebase Code Help
Hello Developer Community. I need help with Firebase. I have Problems with a Code, so if you can help me, simply reply on this Post and then I share the Code. Thanks for the Help :D
0
0
188
Jan ’25