Search results for

“A Summary of the WWDC26 Group Lab”

11,479 results found

Post

Replies

Boosts

Views

Activity

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
359
Sep ’15
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
963
Feb ’23
Reply to How to cast shadow on OcclusionMaterial in visionOS
There is a way to do this, but you will need to create a simple Shader Graph material instead of using the default OcclusionMaterial. There is a second version of this node called ShadowReceivingOcclusionSurface I didn't test this with Grounding Shadows, but it works with regular dynamic light shadows. You can find my notes on this from last year. https://stepinto.vision/labs/lab-026-using-dynamic-lights-and-shadows-with-passthrough/
Topic: Spatial Computing SubTopic: ARKit Tags:
Jan ’26
Reply to SwiftUI know when new page from TabView is activated
You can pass in a variable @State private var selectedTab = 0 to the TabView and to the DayViewsTabView(selection: $selectedTab) { DayView(summary: History.shared.today(), tab: $selectedTab).tag(0) DayView(summary: History.shared.thisWeek(), tab: $selectedTab).tag(1) DayView(summary: History.shared.thisMonth(), tab: $selectedTab).tag(2) }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’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
5
0
495
Jun ’25
Subscription Group Remains as Prepare for Submission
I'm ready to submit a new app with 3 subscription plans. But the status of the group remains 'Prepare for Submission.' And it won't change. All the individual subscription plans have the 'Ready to Submit' status. I have triple-checked individual plans to see if there is anything missing. No. Nothing is missing. There are no pending business contracts to review, either. I have even deleted an existing group and created a whole new subscription group. And I still end up with this prepare status. Am I the only one having this subscription group difficulty? One thing that I realize is that the status appears as 'Ready to Submit' on individual subscription plans. But their respective localization pair of display name and description get the Prepared status. The display name and the description fields are both filled for all three plans. What a nice, merry, merry Christmas. I don't know what else I can do to resolve this Prepared madness. I've been stuck for 4 hours.
2
0
614
Dec ’25
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
App for a Closed Group Of Users
Hi,does apple allow apps for a Closed Group of Users ?I want to create an app for a private club for managing club events and registrations therefore.I will only allow users with valid credentials when acessing the App. For other users this App will have no value.Are those kinds of (private) apps allowed in the iStore or will they be rejected ?Thanks for any information
3
0
1.3k
Feb ’17
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
359
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
843
Sep ’24
Draw order between model sort groups
I’m familiar with using ModelSortGroupComponent to control draw order, but how does RealityKit determine the draw order between model sort groups? How can I enforce a specific draw order between two model sort groups that require different depth pass modes and therefore can't be combined into a single model sort group? Are there model bounding box tricks I can safely rely on?
1
0
240
Jun ’26
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
359
Activity
Sep ’15
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
963
Activity
Feb ’23
Reply to How to cast shadow on OcclusionMaterial in visionOS
There is a way to do this, but you will need to create a simple Shader Graph material instead of using the default OcclusionMaterial. There is a second version of this node called ShadowReceivingOcclusionSurface I didn't test this with Grounding Shadows, but it works with regular dynamic light shadows. You can find my notes on this from last year. https://stepinto.vision/labs/lab-026-using-dynamic-lights-and-shadows-with-passthrough/
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jan ’26
Reply to SwiftUI know when new page from TabView is activated
You can pass in a variable @State private var selectedTab = 0 to the TabView and to the DayViewsTabView(selection: $selectedTab) { DayView(summary: History.shared.today(), tab: $selectedTab).tag(0) DayView(summary: History.shared.thisWeek(), tab: $selectedTab).tag(1) DayView(summary: History.shared.thisMonth(), tab: $selectedTab).tag(2) }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’20
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
305
Activity
Apr ’17
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
439
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
495
Activity
Jun ’25
Subscription Group Remains as Prepare for Submission
I'm ready to submit a new app with 3 subscription plans. But the status of the group remains 'Prepare for Submission.' And it won't change. All the individual subscription plans have the 'Ready to Submit' status. I have triple-checked individual plans to see if there is anything missing. No. Nothing is missing. There are no pending business contracts to review, either. I have even deleted an existing group and created a whole new subscription group. And I still end up with this prepare status. Am I the only one having this subscription group difficulty? One thing that I realize is that the status appears as 'Ready to Submit' on individual subscription plans. But their respective localization pair of display name and description get the Prepared status. The display name and the description fields are both filled for all three plans. What a nice, merry, merry Christmas. I don't know what else I can do to resolve this Prepared madness. I've been stuck for 4 hours.
Replies
2
Boosts
0
Views
614
Activity
Dec ’25
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
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
133
Activity
Nov ’25
App for a Closed Group Of Users
Hi,does apple allow apps for a Closed Group of Users ?I want to create an app for a private club for managing club events and registrations therefore.I will only allow users with valid credentials when acessing the App. For other users this App will have no value.Are those kinds of (private) apps allowed in the iStore or will they be rejected ?Thanks for any information
Replies
3
Boosts
0
Views
1.3k
Activity
Feb ’17
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
359
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
843
Activity
Sep ’24
Draw order between model sort groups
I’m familiar with using ModelSortGroupComponent to control draw order, but how does RealityKit determine the draw order between model sort groups? How can I enforce a specific draw order between two model sort groups that require different depth pass modes and therefore can't be combined into a single model sort group? Are there model bounding box tricks I can safely rely on?
Replies
1
Boosts
0
Views
240
Activity
Jun ’26