Post not yet marked as solved
Exciting to see the new Medication tracking features coming to Health. As a medical app we're wondering if read/write access to these is coming to HealthKit?
We're currently building prescription management into our app so it would be great to be able to let users also add these to Health to handle their adherence tracking.
Post not yet marked as solved
What is the correct approach to save the image (eg. CVPixelBuffer to png) obtained after calling the captureHighResolutionFrame method?
"ARKit captures pixel buffers in a full-range planar YCbCr format (also known as YUV) format according to the ITU R. 601-4 standard"
Should I change the color space of the image (ycbcr to rgb using Metal)?
Post not yet marked as solved
With WebXR and event-exchange with maybe coming next summer, would you please consider to add Live-Text to ARQL?
Currently an interactive AR scene is not able to redirect the user to any other webpage, except the originating. And only a single tapToPay event can be sent at the end of an ARQL session without any reasonable payload.
I've come up with a in-house workflow to build interactiveUSDZ archives for product configuration that dynamically show/update an https-URL representing the user's choice that forwards you to an order form / Webshop.
A sample project can be evaluated here:
https://kreativekk.de/Swivel.html
Currently users have to take a screenshot of their configuration, including this URL and switch over to the Photos.app to let it recognise and invite to open the link.
Post not yet marked as solved
Continuity Camera is a way to stream raw video and metadata from iPhone to mac. Is it possible for an iPhone local recording app to use camera continuity to stream a preview from iPhone to mac?
Can camera continuity be made available on iPad, so that one can stream video/metadata to iPad screen (use case being a need to use better camera and user does not have a mac-book)
Post not yet marked as solved
HI all,
Like many others, I accidentally installed Ventura on my M1 Max MBP but when I attempt to login on Ventura, the progress bar slowly moves as if trying to login, and then the systems reboots and does so every time so I can’t log in. I tried booting into Safe mode, but the same problem occurs, and I tried reinstalling Ventura and it still has the same problem.
This is on my M1 Max MBP w/32GB/4TB. I think the problem may have occurred because I didn’t have enough disk space for the Ventura update (It popped up a warning), but after I dismissed the warning it went ahead and installed anyway. So I don’t know if that prevented some of the necessary files from installing/updating or if the problem is related to something else.
I also tried to Restore from Time Machine using the Recovery Mode, and I am trying to restore from a snapshot on Macintosh HD (which is encrypted). But selecting Macintosh HD and then clicking Unlock does nothing. I am able to successfully unlock the disk while using Disk Utility and to Reinstall Ventura but Restore from Time Machine doesn’t want to cooperate.
Is there a way to create another User Account via the Terminal? So I can try logging in with a clean account created by Ventura?
Any suggestions or ideas would be much appreciated.
Post not yet marked as solved
I'm playing around with the new Swift Charts, so far everything is rather straight forward, however I'm looking for a way to change the time frame/scope of the chart. For example, recreating the Heart Rate chart in the Health App or in other words, only showing a subsection of the data, and being able to move the x-axis for left/right for more data.
I know it's early, but anyone have any ideas how that might be done?
I was wondering if Instruments provides a way to visualize tree-like data structures (eg: a view hierarchy) when building a custom plugin. The last time I checked none of the built-in detail view types (lists, aggregations, call trees, narrative and Time Slice styles) seemed to be a good fit for this.
Looking at this year's "Visualize and optimize Swift concurrency" session there's a mention to a new set of instruments that use a detail UI ("Task force") close to what would be ideal for my use case, but I'm not sure if this is available to 3rd party developers nor where to find the documentation about it.
Thanks!
Post marked as Apple Recommended
Short question: Is is possible to disable the iCloud Keychain synchronization of the Passkeys on-demand?
This would ensure and allow device-specific binding where necessary.
Post not yet marked as solved
All of my builds get stuck on Archive action - it keeps running forever (10+ hours where it took 30 minutes before for a clean build), and never finishes despite having all subtasks finished (green check).
This started to happen on a workflow that has worked reliably for months, right after WWDC22 start - is there a problem with a new version of Xcode Cloud?
I found out that for some reason, /Library/Developer/CoreSimulator/Volumes/watchOS_20R5287q/Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS 9.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftCloudKit.dylib is not a file, but a symlink to /System/Library/Frameworks/CloudKit.framework/CloudKit - which is a folder, not a file, and as a result, any app that uses CloudKit crashes instantly after start on my WatchOS 9 and iOS 16 simulators.
On WatchOS 8.5 and iOS 15.5 sim everything works. Can you confirm if this is a known bug? I tried redownloading the simulators, but the result is same.
Post not yet marked as solved
My question concerns a macOS SwiftUI app. I would like to have a split view with 2 horizontal panes without sidebar: content on the left and inspector on the right. The inspector should act like the inspector panel on the right side side of the Xcode's window: when the window is resized, the inspector keeps it's current width and the user can resize the inspector using the split divider.
Using macOS Monterey SDK, I tried to achieve this with HSplitView but the problem is that the left/right panels are both resized when the window is resized.
struct ContentView: View {
var body: some View {
HSplitView {
Rectangle().fill(.red)
Rectangle().fill(.yellow)
}
}
}
Using Ventura SDK, I just tried the new view NavigationSplitView. I'm using .constant(.doubleColumn) to hide the sidebar but the problem is the same as HSplitView, the left/right panel are both resized when the window is resized.
struct ContentView: View {
var body: some View {
NavigationSplitView(columnVisibility: .constant(.doubleColumn)) {
Text("not used")
} content: {
Rectangle().fill(.red)
} detail: {
Rectangle().fill(.yellow)
}
}
}
When using NSSplitViewController with AppKit, the holdingPriority (https://developer.apple.com/documentation/appkit/nssplitviewitem/1388887-holdingpriority?language=objc) allows to manage this case: The view with the lowest priority is the first to gain additional width if the split view grows or shrinks.
Is it possible to achieve this with SwiftUI?
Post not yet marked as solved
Hi, trying to implement a simple PushToTalk app but I cannot seem to begin transmitting. When I start a transmission programmatically in my app in the foreground:
self.channelManager.requestBeginTransmitting(channelUUID: channelUUID)
This throws an error:
Error Domain=com.apple.pushtotalk.channel Code=1 "(null)"
Which seems to map to the appNotForeground error?
https://developer.apple.com/documentation/pushtotalk/ptchannelerror/code
When I try transmitting from the background, nothing happens at all. Any thoughts?
Post not yet marked as solved
I've been trying to build the downloaded the RoomPlanExampleApp using Xcode 14 beta, but it looks like two key classes (RoomCaptureView and RoomCaptureViewDelegate) are missing from the RoomPlan header at the moment!
Anyone managed to build this yet?
Just a general question. Is it allowed to join an online Lab together with a colleague or do we need to be only one person?
I have compiled my iOS app for both the simulator and device. When clicking on 'Recent Build Timeline' in Xcode 14 Beta 1 nothing happens with no error.
Do I need to enable or set up something else to get it to work?
Post not yet marked as solved
The new Virtualization framework (and sample code!) are great. It's a lot of fun to run the sample code and quickly fire up multiple VMs of macOS running as a guest.
However, the inability to authenticate with any iCloud services is a significant roadblock. Xcode, for example, is not allowing me to authenticate my developer account.
Are there any plans to resolve this issue so that iCloud accounts can be authenticated from within a VM?
Post not yet marked as solved
Hi there, I'm trying to set this photo as my lock screen. When I do it by itself without widgets, it returns as a black screen (only showing the time, date, camera and flashlight buttons). Even with the widgets, I still see a black screen. Can anyone reproduce it?
Post not yet marked as solved
How can I add a native UX for pull-to-refresh for a ScrollView? Is support for this being added in iOS 16? Right now, the native UX only appears for List.
For example, I want to support to be able to support .refreshable on a ScrollView like this:
var body: some View {
ScrollView {
LazyVStack {
Text("1")
Text("2")
Text("3")
}
}
.refreshable {
///
}
}
Post not yet marked as solved
I noticed that this year the Developer App is not allowing me to run the videos in full screen mode. I have confirmed this on a 2019 16inch MBP and 2021 11 Inch iPad Pro. Is anyone else seeing this issue?
Post not yet marked as solved
How do I overlay an annotation/detail popup to AR Models in QuickLook? This was done with the WWDC Trading Cards AR Model. I haven't been able to find any other info on this. Here is an article which has an image of what I am referring to
https://vrscout.com/news/apple-shows-off-ar-trading-cards-ahead-of-wwdc-2022/