Search results for

A Summary of the WWDC25 Group Lab

10,109 results found

Post

Replies

Boosts

Views

Activity

Bundle’s name of a helper with a group container
My application uses a group container that shares files between the main application and its helper. The helper is launched by using SMLoginItemSetEnabled. When I switch to xCode 7 and build the project, I get an error :error: Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier. Embedded Binary Bundle Identifier: X2RD457E37.com.myCompany.myHelper Parent App Bundle Identifier: com.myCompany.myAppSo far, the bundle’s name of the helper started with the the group container ID (X2RD457E37). Did this rule change ? I have found no documentation on the subject.I develop in Objective-C but I notice that with Swift the method SMLoginItemSetEnabled is no longer avalaible. I guess it was replaced. But by what?Thanks for any help.
1
0
410
Jul ’15
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
199
Jun ’24
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
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
717
Sep ’20
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
Adding a custom widget to the Capture group in Control Center
I noticed that with iOS 18, when adding a widget to the Control Center, there is now some grouping system. I'm interested in the Capture group, which contains native widgets from Apple as well as third party apps like Instagram and Blackmagic cam, widgets in this group open the camera. My widget also opens the camera in my app, how can I add it to this group?
2
0
316
Nov ’24
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
325
Jun ’19
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
541
Jun ’16
Sending to Multicast Group, Receiving on own IP
Hey there. I've struggled now for some time to archieve this in Swift/iOS. The situation is as followed: The app is sending via a multicastGroup (NWMulticastGroup) on a specific Port say 4555 a udp message: Hello. (App) xx.x.x.101:Port=> Hello => Multicastgroup:4555 Device within the local Network, in this Group, receives and replies with World directly to the IP of the sender, and on the Port from the sender. Hello received xx.x.x.105 sending World => x.x.x.101:Port The app should receive and add this Device (via Ip) My Concept: Start: guard let multicast = try? NWMulticastGroup(for: [ .hostPort(host: multicast.ip.address, port: 4555) ] ) let params = NWParameters.udp; params.allowLocalEndpointReuse = true; ...... // And then after starting the queue multicast.send(content: msgData) Thats not the big deal. The App sends via a generic port, (e.g. 53222) so the network device receives and replies on this port directly (but not inside the multicast group). First Question: Is there a w
0
0
710
Sep ’21
Reply to How often can people leave ratings on the App Store?
I'm pretty sure it's forever (unless deleted), but you have the option of resetting - https://developer.apple.com/app-store/ratings-and-reviews/ the summary rating: Individual ratings inform your app’s summary rating, which is displayed on your product page and in search results. This summary rating is specific to each territory on the App Store and you can reset it when you release a new version of your app. However, we recommend using this feature sparingly; while resetting the summary rating can ensure that it reflects the most current version of your app — useful if an update addresses users’ previous concerns — having few ratings may discourage potential users from downloading your app. The summary rating is the 5 stars shown next to your app's title on the App Store. 2. People can only leave reviews once (It's tied to your Apple ID). To delete reviews, you can flag inappropriate ones for Apple to remove. Users can also delete their own reviews.
Jun ’20
App Groups and macOS 15
Hi, I just updated my machine to macOS 15, and while developing and running my app (with Xcode), I keep getting messages about my app would like to access data from other apps. This happens even from Xcode Previews, so it's pretty annoying. My production app doesn't seem to be affected by this problem; the system prompt just pops when running the debug version. I came across something about App Groups in macOS and how something has changed in macOS15 regarding system permissions. I use the group.xxx prefix in my macOS app, without the team prefix. Is that the problem here? But why is my production app working fine, but the development app is triggering the prompt repeatedly? Would love any feedback or workarounds. Thanks.
7
0
892
Oct ’24