Search results for

“A Summary of the WWDC26 Group Lab”

10,960 results found

Post

Replies

Boosts

Views

Activity

How to group map annotations?
I create a map with pins. Some of them are located close to each other and when I zoom out, the points are obscured by others. How to group them so that all of them become visible when the map is zoomed in properly. What the most efficient why to do that? Currently in viewDidLoad, I'm getting point data from firebase and put them on the map. db.collection(map).getDocuments() { (querySnapshot, err) in if let err = err { print(Error getting documents: (err))} else { for document in querySnapshot!.documents { let data = document.data() if let name = data[name] as? String, let lat = data[lat] as? Double, let lon = data[lon] as? Double { let newAnnotation = MKPointAnnotation() newAnnotation.coordinate = CLLocationCoordinate2D(latitude: lat, longitude: lon) newAnnotation.title = name self.mapa.addAnnotation(newAnnotation) } } } }
1
0
1.5k
Jul ’20
Reply to SwiftData relationship crash on 17.x
I appreciate the reply. I saw it done both ways online and I left the @Relationship on Summary more as a reminder to me. But removing it gives me the same error. I also removed the creation Summary from the Item initializer and created the Summary after init, but the same error remains so it's definitely something to do with the relationship. And it still exists on 17.7.
Topic: App & System Services SubTopic: iCloud Tags:
Oct ’24
Fixed (non scrollable) group
I am designing a watchOS calculator app. I would prefer to utilize hierachical navigation. I would like to be able to scroll vertically through the buttons, but keep the numeric display fixed at the top of the of the watch display below the status bar. Is there a way to pin either an interface object or group to the top of the watch display, so that it does not scroll off the screen?
3
0
629
Jan ’17
Developer tools group?
I'm taking my first steps in learning to code in C (using the books 'C programming Absolute Beginner's Guide (Perry + Miller)', and 'Programming in C (Kochan)') . I'm about 2/3 + 1/3 of the way through the books. Last week, using X-code 7.3's IDE, I was able to build and run the programmes I typed in, and the answers came out correct. Then on Saturday, I created a programme that built and ran but gave the result 0.0000. So I tried using the break arrows, but didn’t understand the explanations about threads. So I searched for a button that would allow me to step through the programme one instruction at a time whilst I observed the changing values of the variables and the inputs to them. I pressed a lot of buttons, but could find it.Since then I’ve been unable to run any programme. (Did I unwittingly give a stop instruction to the IDE ?)The build is successful, and then a pop-up appears saying - Developer Tools Access needs to take control off another process for debugging to continue. Type the name and passwor
1
0
7.9k
Jul ’16
Does UITableViewAutomaticDimension work with grouped UITableView ?
I have a UITableViewController created in storyboard and I have set the tableView to display in grouped mode.I am trying to use TableView's automatic cell height calculation by setting self.tableView.rowHeight = UITableViewAutomaticDimension; self.tableView.estimatedRowHeight = 50;and I am not overriding heightForRowAtIndexPath.The cells I am using are either Basic or subtitlte type (i.e no custom cells) and I have enabled multiline text for titleLabel and subtitleLabelby setting numberOfLines to 0However, the cell always display with height = 50 and it appears that the text labels are extending above and below the contentView to accomodate the multiline text.Things work perfectly well if I simply make the tableView to display in plain mode intead of grouped.So my question is 0 Does UITableViewAutomaticDimension work with grouped UITableView ?
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
353
Sep ’15
Adding subscriptions to group. Inactive state?
I currently have one subscription group with one approved subscription. It is live in production. I am now adding more subscriptions to the same group. Different tiers and different durations. Is there a way to get these new subscriptions approved by Apple, but not yet have them show as options within the group? Sort of an approved-but-inactive state? There's a timing issue. I don't want the new options to show before the website/app descriptive text supports them. And I don't want the website/app descriptive text to describe purchase options that aren't yet available.
0
0
71
Dec ’25
422 when adding Testflight test group
I uploaded a new build to my testflight. No I am trying to add a test user group to my testflight build. Getting the error in the console: 'API Response Error: TF_ASSIGN_MONOGRAMS_BUILD_GROUP_RESPONSE' status Code: 422 POST https://appstoreconnect.apple.com/.../relationships/betaGroups 422 In my previous build the adding and deleting of user groups is working. Anyone can
4
0
943
Feb ’23
Summary of issues encountered with the Screen Time interface
I have developed three apps using the Screen Time API. The following are common problems I encountered in the three apps: DeviceActivityMonitorExtension is automatically killed after running for a few days (frequently) The same DeviceActivityEvent in DeviceActivityMonitorExtension is triggered twice during eventDidReachThreshold (especially obvious in iOS18.5) Screen Time authorization is automatically canceled for no reason (occasionally) I hope to get help
5
0
418
Jun ’25
Xcode Groups - "cannot find type..." when accessing an object defined in another group
I'm a beginner to Xcode, swift, and swiftui and I'm following the tutorial here. It says to break files into view model and resource groups. However, when I try to access objects from the model in classes in the view, I get an error saying cannot find type ___ in scope. In java or c# I would add a package or namespace reference. How do I do this is swift?
0
0
350
May ’22
SwiftUI Form (Grouped) with Table
Hi everyone, I’m having an issue with a SwiftUI Table inside a Form in a macOS app. When the Form style is set to .grouped, the Table does not resize to the full width of the Form or Sheet. However, when I switch to a .plain style, it resizes correctly. Here’s a simplified version of my code: Section(header: Text(Header)) { Table(data) { TableColumn(Column 1, value: .col1) TableColumn(Column 2, value: .col2) // Add more columns as needed } .frame(height: 100) } } .formStyle(.grouped) // Issue occurs only with this style Has anyone else experienced this? Any workarounds or suggestions would be greatly appreciated! Thanks!
3
0
814
Sep ’24
How to remove obsolete Subscription Groups in IAP
Is there a way to remove Subscription groups? I am new to IAP and created a bunch of subscription groups that I no longer want to use. To prevent all the clutter, I would like to remove the unused groups.Same with IAP entries. I can delete them but it continues to show as deleted. Would like to start afresh/clean slate with IAP. Is there a way to do this?
Replies
4
Boosts
0
Views
6.3k
Activity
Mar ’17
How to group map annotations?
I create a map with pins. Some of them are located close to each other and when I zoom out, the points are obscured by others. How to group them so that all of them become visible when the map is zoomed in properly. What the most efficient why to do that? Currently in viewDidLoad, I'm getting point data from firebase and put them on the map. db.collection(map).getDocuments() { (querySnapshot, err) in if let err = err { print(Error getting documents: (err))} else { for document in querySnapshot!.documents { let data = document.data() if let name = data[name] as? String, let lat = data[lat] as? Double, let lon = data[lon] as? Double { let newAnnotation = MKPointAnnotation() newAnnotation.coordinate = CLLocationCoordinate2D(latitude: lat, longitude: lon) newAnnotation.title = name self.mapa.addAnnotation(newAnnotation) } } } }
Replies
1
Boosts
0
Views
1.5k
Activity
Jul ’20
Reply to SwiftData relationship crash on 17.x
I appreciate the reply. I saw it done both ways online and I left the @Relationship on Summary more as a reminder to me. But removing it gives me the same error. I also removed the creation Summary from the Item initializer and created the Summary after init, but the same error remains so it's definitely something to do with the relationship. And it still exists on 17.7.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’24
Fixed (non scrollable) group
I am designing a watchOS calculator app. I would prefer to utilize hierachical navigation. I would like to be able to scroll vertically through the buttons, but keep the numeric display fixed at the top of the of the watch display below the status bar. Is there a way to pin either an interface object or group to the top of the watch display, so that it does not scroll off the screen?
Replies
3
Boosts
0
Views
629
Activity
Jan ’17
Developer tools group?
I'm taking my first steps in learning to code in C (using the books 'C programming Absolute Beginner's Guide (Perry + Miller)', and 'Programming in C (Kochan)') . I'm about 2/3 + 1/3 of the way through the books. Last week, using X-code 7.3's IDE, I was able to build and run the programmes I typed in, and the answers came out correct. Then on Saturday, I created a programme that built and ran but gave the result 0.0000. So I tried using the break arrows, but didn’t understand the explanations about threads. So I searched for a button that would allow me to step through the programme one instruction at a time whilst I observed the changing values of the variables and the inputs to them. I pressed a lot of buttons, but could find it.Since then I’ve been unable to run any programme. (Did I unwittingly give a stop instruction to the IDE ?)The build is successful, and then a pop-up appears saying - Developer Tools Access needs to take control off another process for debugging to continue. Type the name and passwor
Replies
1
Boosts
0
Views
7.9k
Activity
Jul ’16
Does UITableViewAutomaticDimension work with grouped UITableView ?
I have a UITableViewController created in storyboard and I have set the tableView to display in grouped mode.I am trying to use TableView's automatic cell height calculation by setting self.tableView.rowHeight = UITableViewAutomaticDimension; self.tableView.estimatedRowHeight = 50;and I am not overriding heightForRowAtIndexPath.The cells I am using are either Basic or subtitlte type (i.e no custom cells) and I have enabled multiline text for titleLabel and subtitleLabelby setting numberOfLines to 0However, the cell always display with height = 50 and it appears that the text labels are extending above and below the contentView to accomodate the multiline text.Things work perfectly well if I simply make the tableView to display in plain mode intead of grouped.So my question is 0 Does UITableViewAutomaticDimension work with grouped UITableView ?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
353
Activity
Sep ’15
Adding subscriptions to group. Inactive state?
I currently have one subscription group with one approved subscription. It is live in production. I am now adding more subscriptions to the same group. Different tiers and different durations. Is there a way to get these new subscriptions approved by Apple, but not yet have them show as options within the group? Sort of an approved-but-inactive state? There's a timing issue. I don't want the new options to show before the website/app descriptive text supports them. And I don't want the website/app descriptive text to describe purchase options that aren't yet available.
Replies
0
Boosts
0
Views
71
Activity
Dec ’25
CloudKit Query with count and group By
What would be the correct method to implement aSELECT keyField , count(*) FROM table GROUP BY keyField; should returnkeyFieldA 3keyFieldB 5keyFieldC 6....Trying to structure the query using CloudKit CKQuery and swiftThanks in advance
Replies
2
Boosts
0
Views
1.4k
Activity
Jul ’16
422 when adding Testflight test group
I uploaded a new build to my testflight. No I am trying to add a test user group to my testflight build. Getting the error in the console: 'API Response Error: TF_ASSIGN_MONOGRAMS_BUILD_GROUP_RESPONSE' status Code: 422 POST https://appstoreconnect.apple.com/.../relationships/betaGroups 422 In my previous build the adding and deleting of user groups is working. Anyone can
Replies
4
Boosts
0
Views
943
Activity
Feb ’23
How do you undo today's TestFlight group consolidation?
We had a handful of user groups, but they were merged into External Testers with today's TestFlight update. Has anyone found a way to revert this other than manually moving each tester to a replacement group?
Replies
0
Boosts
0
Views
301
Activity
Apr ’17
Subscription Group Display Name
In App Store Connect, I can't change Subscription Group Display Name . I get the error message There was an error editing your App Store localization. Please try again later. It doesn't change even after waiting a while. Why does this error occur? I would appreciate it if you could tell me what to do.
Replies
0
Boosts
0
Views
106
Activity
Nov ’25
Summary of new requirements for IOS app submission
I'm looking for a comprehensive overview of the new requirements that Apple has enacted recently. I understand one new requirement is that the apps be built with XCode 12. Of course that many not even be correct, I just heard that somewhere. Any help finding the official word on this would be greatly appreciated.
Replies
1
Boosts
0
Views
432
Activity
Sep ’20
Summary of issues encountered with the Screen Time interface
I have developed three apps using the Screen Time API. The following are common problems I encountered in the three apps: DeviceActivityMonitorExtension is automatically killed after running for a few days (frequently) The same DeviceActivityEvent in DeviceActivityMonitorExtension is triggered twice during eventDidReachThreshold (especially obvious in iOS18.5) Screen Time authorization is automatically canceled for no reason (occasionally) I hope to get help
Replies
5
Boosts
0
Views
418
Activity
Jun ’25
Xcode Groups - "cannot find type..." when accessing an object defined in another group
I'm a beginner to Xcode, swift, and swiftui and I'm following the tutorial here. It says to break files into view model and resource groups. However, when I try to access objects from the model in classes in the view, I get an error saying cannot find type ___ in scope. In java or c# I would add a package or namespace reference. How do I do this is swift?
Replies
0
Boosts
0
Views
350
Activity
May ’22
SwiftUI Form (Grouped) with Table
Hi everyone, I’m having an issue with a SwiftUI Table inside a Form in a macOS app. When the Form style is set to .grouped, the Table does not resize to the full width of the Form or Sheet. However, when I switch to a .plain style, it resizes correctly. Here’s a simplified version of my code: Section(header: Text(Header)) { Table(data) { TableColumn(Column 1, value: .col1) TableColumn(Column 2, value: .col2) // Add more columns as needed } .frame(height: 100) } } .formStyle(.grouped) // Issue occurs only with this style Has anyone else experienced this? Any workarounds or suggestions would be greatly appreciated! Thanks!
Replies
3
Boosts
0
Views
814
Activity
Sep ’24