Search results for

“A Summary of the WWDC25 Group Lab”

10,700 results found

Post

Replies

Boosts

Views

Activity

Device management lab questions (Tuesday, June 4th at 10:00 AM)
Question: Any plans to be able to login to the Mac with a Managed Apple ID?Answer: Apple does not comment on future plans.Question: Will Apple ever offer more in-depth status information on Apple's system status website for the Apple Business Manager system?Answer: File a Radar to request the specific features you want.Question: Is there any movement with regards to fully automated, zero touch, Apple TV style DEP for macs? It's increasingly challenging to support labs and build farms where we need fully automated installs at scale.Answer: Not happening this year. We get the problem.Question: Activation for Macs? Can we prevent users from bypassing DEP on macOS via offline setup?Answer: Not happening this year. It's a tricky process to cover all deployment scenarios well.Question: How does T2 activation for macs work?Answer: Ask in Security lab.Question: Will we ever be able to manually add macOS devices into DEP similarly to how we can add iOS devices using Apple Configurator?Answer: Pre-T2, hard no.
0
0
350
Jun ’19
Text output of the text based on a lab from a CoreMLDataModel
Hello, I have created a data model with Text Classification which contains many garments with the label clothing, technology equipment with the label technology, etc.... . I have inserted it so that when entering for example T-shirt the label clothing is output. But I want it so that when I create an equipment category with the clothing, that it suggests me clothing items, which I add. How do I implement this. In the function you can only usepreditction.label. I program with SwiftUI. func textml() { do { let model = try DataModel_Symbols_Consilia(configuration: .init()) let prediction = try model.prediction(text: addProjectVM.title) addProjectVM.symbol = prediction.label } catch { modelOutput = Something went wrong } } Greetings Janik
3
0
1.2k
Mar ’23
Header alignment with UICollectionLayoutListConfiguration in grouped appearance
Hello, I am using compositional layout to create list of objects. I have followed the official documentation and tried the provided sample here: https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/implementing_modern_collection_views However, I have seen something weird with the ListAppearancesViewController. When I use the sample as provided (initial appearance is set to plain), if I change the appearance to grouped by clicking on the bar item, the height of the header is displayed according to the label: But if I change the initial appearance in the code to grouped or insetGrouped, the height is higher: Which one is the correct behavior? Having this space or not? But with this space, the accessory is not vertically aligned with the header, which is weird. How to solve that? Thanks for the help! Nghia
Topic: UI Frameworks SubTopic: UIKit
1
0
223
Jun ’24
Reply to View Immsersive/Stereoscopic Images in Immersive Space
Hello! visionOS 26 introduces ImagePresentationComponent, which enables you to present 2D photos, spatial photos, and spatial scenes in windowed and immersive spaces with RealityKit. Check out the Immersive media section of What's new in RealityKit from WWDC25 for more information. There's also a new Presenting images in RealityKit sample code project to help you get started.
Jun ’25
AR Resource Group Problems
I'm trying to add an AR Reference Image to the ARKit Image detection sample project in Xcode 9.3 beta 2.I drag an image to the AR Resource Image slot, but it's content.json won't include the filename: { images : [ ], info : { version : 1, author : xcode }, properties : { width : 16.875, unit : centimeters }}Adding the filename manually seems to work in the sample project: { images : [ { idiom : universal, filename : LaunchScreen-iPhonePortrait.png } ], info : { version : 1, author : xcode }, properties : { width : 16.875, unit : centimeters }}Edit: This seems to be a bug. It works correctly when you don't create an AR Reference Image slot via the context menu, but directly drag the image to the Resource group.
0
0
1.1k
Feb ’18
Unable to send sms to groups abroad
Hello,I'm creating an app that allows me to send sms to groups and abroad. Im facing a problems when sending to a group that contains iPhone and Android devices from different countries resulting in the message not being sent.Here is what I'm doing to create the text messages:let messageVC = MFMessageComposeViewController() messageVC.body = body message messageVC.recipients = [+123456,+123456] //numbers with country code and area code messageVC.messageComposeDelegate = self; if MFMessageComposeViewController.canSendText() == true { self.present(messageVC, animated: false, completion: nil) }else{ //displays error message }This presents the composer for SMS/iMessages, but when the sent button is tapped it looks like the message will be sent but at the end none of the messages are sent and a red Not Delivered message appears.If I try to send the message only to iPhones and locally it works.
1
0
435
Jul ’17
iMessage app in group conversation
I was watching the WWDC video about iMessage apps, part 2 and was a bit surprised by the section about group conversations. It's between 36:20 and 38:20 in this video: https://developer.apple.com/videos/play/wwdc2016/224/I was a bit surprised by that and I don't understand why an app can't have access to all messages in the current session. Not the entire conversation, but just the current session. They all belong to the app so why would the app not be allowed to have access to all messages in that session? It should be made available through the MSSession object if you ask me. Or am I missing something??I understand what he means by using the cloud but it feels like a bit of a hack to me.
1
0
552
Jun ’16
How to dynamically change the height of the section or group
How to dynamically change the height of the section or group when i use UICollectionViewCompositionalLayout. For example, i want to change the first section's height when i scroll the collectionview up. I can use the following code to achieve, but this looks very bad. // in didScroll callback collectionView.setCollectionViewLayout(currentCollectionViewLayout(), animated: true)
2
0
4.4k
Jun ’20
Combine legacy Renewable Subscriptions into same Group
We have had 4 subscription products available for a few years now. 2 are for 25 GB of online storage, 2 are for 10 GB of online storage, each with 1 month and 1 year options:25 GB - 1 Year25 GB - 1 Month10 GB - 1 Year10 GB - 1 MonthI am attempting to update the localized subscription display name, so the users will see the correct verbiage when they Manage their subscriptions with Apple. However my edits are always rejected becuase Your app appears to allow users to inadvertently subscribe to multiple variations of the same thing.I think this issue arises from the incorrect Subscription Groups that Apple put in place. Please refer to this image: http ://i.imgur.com/VTMmwfv.pngThe two 25 GB products are grouped separately from the two 10 GB products. It looks like you could have a subscription for each, 25 and 10. This is not the case in the app coding, nor is it our intention. All 4 of my products should be in the same Group, then sorted into upgrade and downgrade options. This is a
5
0
1k
Feb ’17
Reply to Xcode Build Timing summary not visible
For people that come here looking for an answer... after invoking the build using the Product > Perform Action > Build with Timing Summary, once the build is done, select the build in the Report Navigator (⌘9) and then selecting Editor > Open Timeline. This will open the timing summary along side the build log. Note that as far as I know, the flag ShowBuildOperationDuration is only used for showing the duration of the build in the toolbar; it is not required to be set for the build timing summary.
Mar ’23
Not able to access the summary day values for Active Energy from Apple HealthKit
I have already created a function to fetch active energy data from HealthKit. But if I try to fetch records of 1 year with multiple active energy records per day, the app hangs and in some cases App does crash and I don't get any data. I couldn't find any other way to access the summary day values for Active Energy from Apple HealthKit. Below is my code for getting Active Energy from HealthKit. func getActiveEnergy(startDate : Date) { ttvar startingDate = startDate tt ttHealthKitSetupManager.getActiveEnergy(date: startDate, withSuccess: { (isSuccess, error) in ttttif isSuccess { ttttttprint(Active Energy Fetch) tttt} tttt ttttstartingDate = NSCalendar.current.date(byAdding: .day, value: 1, to: startDate) ?? Date() tttt ttttif startingDate <= Date() { ttttttself.getActiveEnergy(startDate: startingDate) tttt} else { ttttttself.getSickNumber(startDate : self.globalDate) tttt} tt}) } HealthKitSetupManager.swift class func getActiveEnergy(date:Date, withSuccess: @escaping(Bool,String?) -> Void) { tt
0
0
732
Sep ’20
Device management lab questions (Tuesday, June 4th at 10:00 AM)
Question: Any plans to be able to login to the Mac with a Managed Apple ID?Answer: Apple does not comment on future plans.Question: Will Apple ever offer more in-depth status information on Apple's system status website for the Apple Business Manager system?Answer: File a Radar to request the specific features you want.Question: Is there any movement with regards to fully automated, zero touch, Apple TV style DEP for macs? It's increasingly challenging to support labs and build farms where we need fully automated installs at scale.Answer: Not happening this year. We get the problem.Question: Activation for Macs? Can we prevent users from bypassing DEP on macOS via offline setup?Answer: Not happening this year. It's a tricky process to cover all deployment scenarios well.Question: How does T2 activation for macs work?Answer: Ask in Security lab.Question: Will we ever be able to manually add macOS devices into DEP similarly to how we can add iOS devices using Apple Configurator?Answer: Pre-T2, hard no.
Replies
0
Boosts
0
Views
350
Activity
Jun ’19
Text output of the text based on a lab from a CoreMLDataModel
Hello, I have created a data model with Text Classification which contains many garments with the label clothing, technology equipment with the label technology, etc.... . I have inserted it so that when entering for example T-shirt the label clothing is output. But I want it so that when I create an equipment category with the clothing, that it suggests me clothing items, which I add. How do I implement this. In the function you can only usepreditction.label. I program with SwiftUI. func textml() { do { let model = try DataModel_Symbols_Consilia(configuration: .init()) let prediction = try model.prediction(text: addProjectVM.title) addProjectVM.symbol = prediction.label } catch { modelOutput = Something went wrong } } Greetings Janik
Replies
3
Boosts
0
Views
1.2k
Activity
Mar ’23
Header alignment with UICollectionLayoutListConfiguration in grouped appearance
Hello, I am using compositional layout to create list of objects. I have followed the official documentation and tried the provided sample here: https://developer.apple.com/documentation/uikit/views_and_controls/collection_views/implementing_modern_collection_views However, I have seen something weird with the ListAppearancesViewController. When I use the sample as provided (initial appearance is set to plain), if I change the appearance to grouped by clicking on the bar item, the height of the header is displayed according to the label: But if I change the initial appearance in the code to grouped or insetGrouped, the height is higher: Which one is the correct behavior? Having this space or not? But with this space, the accessory is not vertically aligned with the header, which is weird. How to solve that? Thanks for the help! Nghia
Topic: UI Frameworks SubTopic: UIKit
Replies
1
Boosts
0
Views
223
Activity
Jun ’24
Can't add developer account to company group
Hello, My colleague said he couldn't add my developer account into our company group. He tried to cancel my account and added again. However, the system just don't allow it. He also can't delete other accounts in that group. This situation has been lasted for 3 days. Does anyone have the same problem?
Replies
0
Boosts
0
Views
431
Activity
Dec ’17
Xcode 14 Previews: Groups on the same page?
In Xcode 13, I can use groups to preview my views in different states: In Xcode 14 (Beta 1) groups are now rendered as tabs, making it way more difficult to verify all states after changes: Is there a way to toggle back to the old behavior - or is there any other container view that would be more suitable?
Replies
5
Boosts
0
Views
5k
Activity
Jun ’22
Reply to View Immsersive/Stereoscopic Images in Immersive Space
Hello! visionOS 26 introduces ImagePresentationComponent, which enables you to present 2D photos, spatial photos, and spatial scenes in windowed and immersive spaces with RealityKit. Check out the Immersive media section of What's new in RealityKit from WWDC25 for more information. There's also a new Presenting images in RealityKit sample code project to help you get started.
Replies
Boosts
Views
Activity
Jun ’25
AR Resource Group Problems
I'm trying to add an AR Reference Image to the ARKit Image detection sample project in Xcode 9.3 beta 2.I drag an image to the AR Resource Image slot, but it's content.json won't include the filename: { images : [ ], info : { version : 1, author : xcode }, properties : { width : 16.875, unit : centimeters }}Adding the filename manually seems to work in the sample project: { images : [ { idiom : universal, filename : LaunchScreen-iPhonePortrait.png } ], info : { version : 1, author : xcode }, properties : { width : 16.875, unit : centimeters }}Edit: This seems to be a bug. It works correctly when you don't create an AR Reference Image slot via the context menu, but directly drag the image to the Resource group.
Replies
0
Boosts
0
Views
1.1k
Activity
Feb ’18
Unable to send sms to groups abroad
Hello,I'm creating an app that allows me to send sms to groups and abroad. Im facing a problems when sending to a group that contains iPhone and Android devices from different countries resulting in the message not being sent.Here is what I'm doing to create the text messages:let messageVC = MFMessageComposeViewController() messageVC.body = body message messageVC.recipients = [+123456,+123456] //numbers with country code and area code messageVC.messageComposeDelegate = self; if MFMessageComposeViewController.canSendText() == true { self.present(messageVC, animated: false, completion: nil) }else{ //displays error message }This presents the composer for SMS/iMessages, but when the sent button is tapped it looks like the message will be sent but at the end none of the messages are sent and a red Not Delivered message appears.If I try to send the message only to iPhones and locally it works.
Replies
1
Boosts
0
Views
435
Activity
Jul ’17
iMessage app in group conversation
I was watching the WWDC video about iMessage apps, part 2 and was a bit surprised by the section about group conversations. It's between 36:20 and 38:20 in this video: https://developer.apple.com/videos/play/wwdc2016/224/I was a bit surprised by that and I don't understand why an app can't have access to all messages in the current session. Not the entire conversation, but just the current session. They all belong to the app so why would the app not be allowed to have access to all messages in that session? It should be made available through the MSSession object if you ask me. Or am I missing something??I understand what he means by using the cloud but it feels like a bit of a hack to me.
Replies
1
Boosts
0
Views
552
Activity
Jun ’16
How to dynamically change the height of the section or group
How to dynamically change the height of the section or group when i use UICollectionViewCompositionalLayout. For example, i want to change the first section's height when i scroll the collectionview up. I can use the following code to achieve, but this looks very bad. // in didScroll callback collectionView.setCollectionViewLayout(currentCollectionViewLayout(), animated: true)
Replies
2
Boosts
0
Views
4.4k
Activity
Jun ’20
Combine legacy Renewable Subscriptions into same Group
We have had 4 subscription products available for a few years now. 2 are for 25 GB of online storage, 2 are for 10 GB of online storage, each with 1 month and 1 year options:25 GB - 1 Year25 GB - 1 Month10 GB - 1 Year10 GB - 1 MonthI am attempting to update the localized subscription display name, so the users will see the correct verbiage when they Manage their subscriptions with Apple. However my edits are always rejected becuase Your app appears to allow users to inadvertently subscribe to multiple variations of the same thing.I think this issue arises from the incorrect Subscription Groups that Apple put in place. Please refer to this image: http ://i.imgur.com/VTMmwfv.pngThe two 25 GB products are grouped separately from the two 10 GB products. It looks like you could have a subscription for each, 25 and 10. This is not the case in the app coding, nor is it our intention. All 4 of my products should be in the same Group, then sorted into upgrade and downgrade options. This is a
Replies
5
Boosts
0
Views
1k
Activity
Feb ’17
Reply to SwiftUI - integrating with SceneKit
This is awesome! : ) No lab for SceneKit This year? How can I get more examples, on how to interact SwiftUI with SceneKit? Like for example touching and change texture of a model?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’20
Reply to Xcode Build Timing summary not visible
For people that come here looking for an answer... after invoking the build using the Product > Perform Action > Build with Timing Summary, once the build is done, select the build in the Report Navigator (⌘9) and then selecting Editor > Open Timeline. This will open the timing summary along side the build log. Note that as far as I know, the flag ShowBuildOperationDuration is only used for showing the duration of the build in the toolbar; it is not required to be set for the build timing summary.
Replies
Boosts
Views
Activity
Mar ’23
Reply to Access to gyroscope?
There is no gyroscope in the watch - at least that's what i was told in the lab. If you want to use a gyroscope, you'll have to access the phone. A bummer for sure.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’15
Not able to access the summary day values for Active Energy from Apple HealthKit
I have already created a function to fetch active energy data from HealthKit. But if I try to fetch records of 1 year with multiple active energy records per day, the app hangs and in some cases App does crash and I don't get any data. I couldn't find any other way to access the summary day values for Active Energy from Apple HealthKit. Below is my code for getting Active Energy from HealthKit. func getActiveEnergy(startDate : Date) { ttvar startingDate = startDate tt ttHealthKitSetupManager.getActiveEnergy(date: startDate, withSuccess: { (isSuccess, error) in ttttif isSuccess { ttttttprint(Active Energy Fetch) tttt} tttt ttttstartingDate = NSCalendar.current.date(byAdding: .day, value: 1, to: startDate) ?? Date() tttt ttttif startingDate <= Date() { ttttttself.getActiveEnergy(startDate: startingDate) tttt} else { ttttttself.getSickNumber(startDate : self.globalDate) tttt} tt}) } HealthKitSetupManager.swift class func getActiveEnergy(date:Date, withSuccess: @escaping(Bool,String?) -> Void) { tt
Replies
0
Boosts
0
Views
732
Activity
Sep ’20