Search results for

“A Summary of the WWDC25 Group Lab”

11,216 results found

Post

Replies

Boosts

Views

Activity

How do I find out which groups a unified contact belongs to?
Hi, would someone help me get started on a problem in iOS using Swift? How do I get all the groups that a unified contact belongs to? Or how would I check to see if a contact is within a group? That would allow me to find out all the groups that a contact belongs to. I suspect what I need to learn is how to create the predicate to set the predicate property of a CNContactFetchRequest that I need to use.Any help will be appreciated.
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
408
May ’18
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
Multiple active subscriptions within the same subscription group
We have 2 monthly subscription tiers that are part of a subscription group, and always have been part of this group. Both are configured with a 1 month trial introductory offer. According to the documentation for auto-renewable subscriptions,: Users can subscribe to one subscription product per group at a time. And yet several users have managed to start trials of both products in this group simultaneously, which converted to paid subscriptions after the expiration of the trials, and now are being concurrently billed by Apple for both. How do we completely prevent this from happening?
1
0
85
Jan ’26
How to specify TLS key exchange groups with NWProtocolTLS.Options
I am trying to establish a TLS 1.3 connection to a server that only accepts the SECP256R1 and FFDHE2048 TLS key share groups using the following code but the server is failing the TLS handshake because my client is not using a supported key exchange group. How do I specify which TLS key exchange group my client should use during the handshake? let tlsOptions = NWProtocolTLS.Options() if let secIdentity = getSecIdentity(), let identity = sec_identity_create(secIdentity) { sec_protocol_options_set_min_tls_protocol_version( tlsOptions.securityProtocolOptions, .TLSv13) sec_protocol_options_set_local_identity( tlsOptions.securityProtocolOptions, identity) } let tlsParams = NWParameters(tls: tlsOptions, tcp: .init()) let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(host), port: NWEndpoint.Port(port)) let nwConnection = NWConnection(to: endpoint, using: tlsParams) nwConnection.stateUpdateHandler = stateDidChange(to:) nwConnection.start(queue: queue) Thanks!
1
0
651
Sep ’23
Reply to Is it possible to call openWindow() in a navigationDestination in a NavigationStack?
After doing more research it appears that this is not possible. So I converted the navigation stack to a series of buttons. It works. Below is an example button and my App struct. Button { openWindow(id: summary) } label: { Text(Summary) .font(Font.custom(Arial, size: 14.0)) .foregroundColor(Color.blue) .background(Color.clear) .padding(.leading, 35) } .focusable(false) .buttonStyle(.link) @main struct WindowGroupsApp: App { var body: some Scene { WindowGroup (Home) { ContentView() .hostingWindowPosition(window: Home) } Window(Summary, id: summary) { SummaryView() .hostingWindowPosition(window: Summary) } WindowGroup (Table, id: table, for: String.self) { $fundName in NavigationDestinationView(fundName: fundName!, numYears: 1) .hostingWindowPosition(window: Table) } WindowGroup (Chart, id: chart1, for: String.self) { $fundName in CustomChartView(fundName: fundName!, numYears: 1) .hostingWindowPosition(window: Chart) } WindowGroup (Chart, id: chart5, for: String.sel
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’23
How to add and move a group (folder) in Xcode project?
After I add a new group to my project inside the project navigator in Xcode, by right clicking, it always seems to appear somewhere I don't want it - for example, even if I am under App Delegate at the time of right clicking, it will still land right at the top of everything else. How can I add it where I need it to avoid having to move it? Also, I am not sure how to move a group in an efficient manner. When I try to drag and drop a group folder to another spot within my project navigator in Xcode, a green drag and add line appears and it automatically adds a duplicate. I then have to delete the original folder but even so I don't feel comfortable doing so.
5
0
5.5k
Aug ’17
twos settings with app group issue
I have a tvos application and a topshelf extension that share NSUserDefault settings via an App group.I instantiated the user defaults in the following manner let userDefaults = NSUserDefaults(suiteName: group.xxx.xxx.xxx)!Everything works as expected; settings are shared between the app and the top shelf extension.However I have not been able to get the Settings App to work with the app group.I have created a key in the Root.plist of my settings bundle called ApplicationGroupContainerIdentifier with the app group name, but that does not make work.The Settings App does not see values entered by the application or vice versa.I tested using the standard way of instantiating the userdefaults: userDefaults = NSUserDefaults.standardUserDefaults()That works but of course then the topshelf extension does not share any settings with the app.I would appreciate any help.Maybe the Settings App in tvOS doen not support app groups yet, I don't know.Thanks for any help
0
0
422
Nov ’15
RCS working 1on1; not working with Group Messages
I upgraded my kids iPhone 13 minis with iOS18 beta (public beta). RCS is used when we message each other individually which is great. I subsequently setup a group chat with my daugthers as the existing group chat would send messages with SMS only; once I setup that new chat between the three of us, both receive my messages as RCS. In this group chat, one daughter is sending messages with RCS and those messages are being received in the new RCS chat. However, the other daughter can send messages in the group chat only with SMS; those messages are being received in my original thread only. I checked and the messages app settings are the same for both. RCS is activated under settings --> apps --> messages and RCS works both ways with both of my daughters. Any ideas how I can get my daughter to send messages with RCS instead of SMS in the group chat?
1
0
1.6k
Aug ’24
FamilyActivityPicker is not picking the right group of apps.
I am passing a group of apps that the user did not select to the ManagedSettingsStore. I write it like this I then block the user from using this group of apps. ManagedSettingsStore().shield.applicationCategories = ShieldSettings.ActivityCategoryPolicy.all(except:familyActivitySelection.applicationTokens) This problem occurs when you select three or more categories in the FamilyActivityPicker. For example, if you select only the Education category, only the apps in the Education category will be available, but if you add the Productivity/Lifestyle category to the selected categories, all apps in the iPhone will be available. This problem occurs whether the number of categories to select is four or five. Perhaps IOS is not generating the exact set of apps when it generates the set.
0
0
876
May ’23
How to Enable Group Navigation Behavior for Custom Views in VoiceOver?
In VoiceOver, when using Group Navigation style, the cursor first focuses on the semantic group. To navigate inside the group, a two-finger swipe (left or right) can be used. This behavior works for default containers like the Navigation Bar, Tab Bar, and Tool Bar. How can I achieve the same behavior for a custom view? I tried setting accessibilityContainerType = .semanticGroup, but it only works for Mac Catalyst. Is there an equivalent approach for iOS?
0
0
537
Mar ’25
Reply to Foundation Models Adapter Training Toolkit v0.2.0 LoRA Adapter Incompatible with macOS 26 Beta 4 Base Model
Thank you for responding! metadata.json from the .fmadapter package: { adapterIdentifier: fmadapter-foundation-lab-9799725, author: Foundation Lab, baseModelSignature: 9799725ff8e851184037110b422d891ad3b92ec1, creatorDefined: {}, description: Tool adapter., license: , loraRank: 32, speculativeDecodingDraftTokenCount: 5 } Code used to load the adapter: // From test-adapter-minimal.swift:39 let adapter = try SystemLanguageModel.Adapter(fileURL: adapterURL) // Also tried the name-based initializer: adapter = try await SystemLanguageModel.Adapter(name: adapterName) Please help make progress here. Thank you!
Jul ’25
network extension, app groups, unix domain socket
Hi to all.I am developing network extension and have several issues that I faced and have no idea how to solve.So:1. there is sandboxed application that can install/unintall own network extension;2. there is App Group(https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups?language=objc), sandboxed application and appropriate network extension are included into group via owns entitlement files;3. App group registered manualy on https://developer.apple.com/account/resources/identifiers/list/applicationGroup, the same identifier is used in appropriate entitlement files. Identifier on site looks like group.TEAM_ID.com.company.app-group. Identifier in entitlement looks like TEAM_ID.com.company.app-group, i.e. without precending group;4. It is required to use unix domain socket for IPC communication between sandboxed application and network extension(I am porting existing software, so this is not a b
5
0
2.5k
May ’20
Not able to send messages in group chat at all
I've not been able to send group iMessages at all since iOS beta 2 and it is same in beta 3 also.Anyone else also facing same issue?
Replies
0
Boosts
0
Views
1.3k
Activity
Jul ’18
How do I find out which groups a unified contact belongs to?
Hi, would someone help me get started on a problem in iOS using Swift? How do I get all the groups that a unified contact belongs to? Or how would I check to see if a contact is within a group? That would allow me to find out all the groups that a contact belongs to. I suspect what I need to learn is how to create the predicate to set the predicate property of a CNContactFetchRequest that I need to use.Any help will be appreciated.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
408
Activity
May ’18
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.
Replies
Boosts
Views
Activity
Jun ’20
Can we bundle/group in one folder for VPP Apps
Hi ,As per requirement to make one folder/group for all downloaded VPP apps in sandbox.Can anybody help me is it technically feasible ?If yes how could we do it.Regards,Skp
Replies
0
Boosts
0
Views
195
Activity
Jun ’16
Multiple active subscriptions within the same subscription group
We have 2 monthly subscription tiers that are part of a subscription group, and always have been part of this group. Both are configured with a 1 month trial introductory offer. According to the documentation for auto-renewable subscriptions,: Users can subscribe to one subscription product per group at a time. And yet several users have managed to start trials of both products in this group simultaneously, which converted to paid subscriptions after the expiration of the trials, and now are being concurrently billed by Apple for both. How do we completely prevent this from happening?
Replies
1
Boosts
0
Views
85
Activity
Jan ’26
Is there an upper limit on the number of subscription groups an app can offer?
I didn’t see any mention on whether there’s an upper limit on the number of subscription groups an app can offer. Is there an upper limit? To be compliant with 3.1.1 and 3.1.3(b), I would need tens of thousands of subscriptions groups.
Replies
2
Boosts
0
Views
1.2k
Activity
Jun ’24
How to specify TLS key exchange groups with NWProtocolTLS.Options
I am trying to establish a TLS 1.3 connection to a server that only accepts the SECP256R1 and FFDHE2048 TLS key share groups using the following code but the server is failing the TLS handshake because my client is not using a supported key exchange group. How do I specify which TLS key exchange group my client should use during the handshake? let tlsOptions = NWProtocolTLS.Options() if let secIdentity = getSecIdentity(), let identity = sec_identity_create(secIdentity) { sec_protocol_options_set_min_tls_protocol_version( tlsOptions.securityProtocolOptions, .TLSv13) sec_protocol_options_set_local_identity( tlsOptions.securityProtocolOptions, identity) } let tlsParams = NWParameters(tls: tlsOptions, tcp: .init()) let endpoint = NWEndpoint.hostPort(host: NWEndpoint.Host(host), port: NWEndpoint.Port(port)) let nwConnection = NWConnection(to: endpoint, using: tlsParams) nwConnection.stateUpdateHandler = stateDidChange(to:) nwConnection.start(queue: queue) Thanks!
Replies
1
Boosts
0
Views
651
Activity
Sep ’23
Reply to Is it possible to call openWindow() in a navigationDestination in a NavigationStack?
After doing more research it appears that this is not possible. So I converted the navigation stack to a series of buttons. It works. Below is an example button and my App struct. Button { openWindow(id: summary) } label: { Text(Summary) .font(Font.custom(Arial, size: 14.0)) .foregroundColor(Color.blue) .background(Color.clear) .padding(.leading, 35) } .focusable(false) .buttonStyle(.link) @main struct WindowGroupsApp: App { var body: some Scene { WindowGroup (Home) { ContentView() .hostingWindowPosition(window: Home) } Window(Summary, id: summary) { SummaryView() .hostingWindowPosition(window: Summary) } WindowGroup (Table, id: table, for: String.self) { $fundName in NavigationDestinationView(fundName: fundName!, numYears: 1) .hostingWindowPosition(window: Table) } WindowGroup (Chart, id: chart1, for: String.self) { $fundName in CustomChartView(fundName: fundName!, numYears: 1) .hostingWindowPosition(window: Chart) } WindowGroup (Chart, id: chart5, for: String.sel
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
How to add and move a group (folder) in Xcode project?
After I add a new group to my project inside the project navigator in Xcode, by right clicking, it always seems to appear somewhere I don't want it - for example, even if I am under App Delegate at the time of right clicking, it will still land right at the top of everything else. How can I add it where I need it to avoid having to move it? Also, I am not sure how to move a group in an efficient manner. When I try to drag and drop a group folder to another spot within my project navigator in Xcode, a green drag and add line appears and it automatically adds a duplicate. I then have to delete the original folder but even so I don't feel comfortable doing so.
Replies
5
Boosts
0
Views
5.5k
Activity
Aug ’17
twos settings with app group issue
I have a tvos application and a topshelf extension that share NSUserDefault settings via an App group.I instantiated the user defaults in the following manner let userDefaults = NSUserDefaults(suiteName: group.xxx.xxx.xxx)!Everything works as expected; settings are shared between the app and the top shelf extension.However I have not been able to get the Settings App to work with the app group.I have created a key in the Root.plist of my settings bundle called ApplicationGroupContainerIdentifier with the app group name, but that does not make work.The Settings App does not see values entered by the application or vice versa.I tested using the standard way of instantiating the userdefaults: userDefaults = NSUserDefaults.standardUserDefaults()That works but of course then the topshelf extension does not share any settings with the app.I would appreciate any help.Maybe the Settings App in tvOS doen not support app groups yet, I don't know.Thanks for any help
Replies
0
Boosts
0
Views
422
Activity
Nov ’15
RCS working 1on1; not working with Group Messages
I upgraded my kids iPhone 13 minis with iOS18 beta (public beta). RCS is used when we message each other individually which is great. I subsequently setup a group chat with my daugthers as the existing group chat would send messages with SMS only; once I setup that new chat between the three of us, both receive my messages as RCS. In this group chat, one daughter is sending messages with RCS and those messages are being received in the new RCS chat. However, the other daughter can send messages in the group chat only with SMS; those messages are being received in my original thread only. I checked and the messages app settings are the same for both. RCS is activated under settings --> apps --> messages and RCS works both ways with both of my daughters. Any ideas how I can get my daughter to send messages with RCS instead of SMS in the group chat?
Replies
1
Boosts
0
Views
1.6k
Activity
Aug ’24
FamilyActivityPicker is not picking the right group of apps.
I am passing a group of apps that the user did not select to the ManagedSettingsStore. I write it like this I then block the user from using this group of apps. ManagedSettingsStore().shield.applicationCategories = ShieldSettings.ActivityCategoryPolicy.all(except:familyActivitySelection.applicationTokens) This problem occurs when you select three or more categories in the FamilyActivityPicker. For example, if you select only the Education category, only the apps in the Education category will be available, but if you add the Productivity/Lifestyle category to the selected categories, all apps in the iPhone will be available. This problem occurs whether the number of categories to select is four or five. Perhaps IOS is not generating the exact set of apps when it generates the set.
Replies
0
Boosts
0
Views
876
Activity
May ’23
How to Enable Group Navigation Behavior for Custom Views in VoiceOver?
In VoiceOver, when using Group Navigation style, the cursor first focuses on the semantic group. To navigate inside the group, a two-finger swipe (left or right) can be used. This behavior works for default containers like the Navigation Bar, Tab Bar, and Tool Bar. How can I achieve the same behavior for a custom view? I tried setting accessibilityContainerType = .semanticGroup, but it only works for Mac Catalyst. Is there an equivalent approach for iOS?
Replies
0
Boosts
0
Views
537
Activity
Mar ’25
Reply to Foundation Models Adapter Training Toolkit v0.2.0 LoRA Adapter Incompatible with macOS 26 Beta 4 Base Model
Thank you for responding! metadata.json from the .fmadapter package: { adapterIdentifier: fmadapter-foundation-lab-9799725, author: Foundation Lab, baseModelSignature: 9799725ff8e851184037110b422d891ad3b92ec1, creatorDefined: {}, description: Tool adapter., license: , loraRank: 32, speculativeDecodingDraftTokenCount: 5 } Code used to load the adapter: // From test-adapter-minimal.swift:39 let adapter = try SystemLanguageModel.Adapter(fileURL: adapterURL) // Also tried the name-based initializer: adapter = try await SystemLanguageModel.Adapter(name: adapterName) Please help make progress here. Thank you!
Replies
Boosts
Views
Activity
Jul ’25
network extension, app groups, unix domain socket
Hi to all.I am developing network extension and have several issues that I faced and have no idea how to solve.So:1. there is sandboxed application that can install/unintall own network extension;2. there is App Group(https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups?language=objc), sandboxed application and appropriate network extension are included into group via owns entitlement files;3. App group registered manualy on https://developer.apple.com/account/resources/identifiers/list/applicationGroup, the same identifier is used in appropriate entitlement files. Identifier on site looks like group.TEAM_ID.com.company.app-group. Identifier in entitlement looks like TEAM_ID.com.company.app-group, i.e. without precending group;4. It is required to use unix domain socket for IPC communication between sandboxed application and network extension(I am porting existing software, so this is not a b
Replies
5
Boosts
0
Views
2.5k
Activity
May ’20