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
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
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
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
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.
I remembered there's a message that says that you cannot modify this video or whatever at the end of every session. So, if I trim the video and send it to my friend, is it allowed?
Bonus: where can I find the background music for every daily debrief video (if I can)?
Post not yet marked as solved
I'm in the process of building a SwiftUI app with a Sidebar and Detail View. I've run into some issues and I need some help fixing them:
When the app is launched, my detail view shows up at the right of the sidebar. Great! However, the button that is supposed to navigate to that view isn't highlighted, which could cause user confusion. How do I make this button "light up" (with that blue background indicating to the user that it is selected, highlighted) and make the code so that this view opens up when the app opens (like in other Apple apps, see Music and Files)
When I click on one of my sidebar items (which are just NavigationLinks), the background doesn't turn blue (highlight) to indicate that item is selected. I feel like this would cause user confusion, and I'd like to figure out why my code doesn't do this. One side note and a useful piece of information: whenever I click the NavigationLink in the sidebar, the console prints this: onChange(of: UpdateTrigger) action tried to update multiple times per frame.
In the macOS app, upon launch, the detail view shows up. Great. What doesn't show up is my sidebar with the options on it. How do I make it so that the sidebar shows up no matter what unless the user specifies to remove it from view?
Attached are some images and my code. Thanks, y'all!
struct ContentView: View {
var body: some View {
// NavigationSplitView for the sidebar
NavigationSplitView {
// List of the options
List {
// NavigationLink for my button
NavigationLink {
// Linking to my main view that I want to show up upon launch of the app
MainView()
// Label to make it look pretty
} label: {
Label("Main View", systemImage: "icloud")
}
// Make the sidebar actually look like a sidebar
.listStyle(.sidebar)
}
// NavigationTitle at the top of the sidebar
.navigationTitle("Cling")
//
} detail: {
// Make it so that the main screen shows up upon launch (however, this doesn't make the button light up to signify that the user has selected that view)
MainView()
}
}
}
Post not yet marked as solved
Voice isolation does a great job with noise suppression when the user is holding the phone in hand (facetime use case). But when the phone is about 4-feet away from the user, voice isolation quality substantially drops and we are seeing that it is better to not use it.
Our use case demands that user mounts phone on tripod and sites approximately 4 feet away from camera. In this case we are seeing worst performance from voice isolation, presumably because of heavy signal processing and lower original signal to begin with.
Post not yet marked as solved
As a follow-up to a Networking lab conversation I had on Tuesday I have the following question:
Is there a way to use nscurl to connect to a server that requires client authentication by providing a client certificate? None of the documented options seem to allow that, but maybe there is an undocumented one...
Post not yet marked as solved
Hello! I am starting to dig into the docs on object and mesh shaders. I see that the Metal API on the CPU side has new functions for setting object and mesh buffers in the new programable stage. But I don't see corresponding changes to the API for MTLIndirectCommandBuffer. Will we be able to use the GPU to encode draw commands using a pipeline that leverages the new shader types?
Thanks,
Hey guys
I'm trying to follow along with the WWDC session titled "What's new with SwiftUI". They say it's possible to have the detail view of a NavigationSplitView be determined based on a state variable by using the following code:
However, and I'm kinda going crazy here, this code does NOT work on iOS whatsoever, the view will remain the one determined by "default" Switch case.
It works fine on macOS, but iOS (and iPadOS) simply will not change the detail view no matter what.
I have tried working around it for hours but it seems to boil down to the view never being redrawn... has anyone tried this? Is this just a iOS bug??
Excellent work on Passkeys.
For context, I’m soon to release a Password Manager app that is built specifically for Apple devices only (iOS, iPadOS, macOS). A user’s vault items are encrypted on their own device and synced end-to-end encrypted via their own private iCloud database. As you’d expect, the app requires the user to enter their master password to unlock their vaults, and allows them to optionally enable Touch or Face ID for a passwordless unlock experience.
In this scenario where there is no third-party server involved, and auth takes place on-device only, is there any meaningful way an app like this can or should take advantage of Passkeys?
The only thing I can think of so far would be to allow the user to use a Passkey instead of a master password to unlock their vault. But aside from the convenience factor for the user in terms of UX, I’m not entirely sure I understand if there would be any major security advantage in doing so, over the app’s existing auth/unlock flow?
Post not yet marked as solved
I'm testing my App in the Xcode 14 beta (released with WWDC22) on iOS 16, and it seems that AVSpeechSynthesisVoice is not working correctly.
The following code always returns an empty array:
AVSpeechSynthesisVoice.speechVoices()
Additionally, attempting to initialize AVSpeechSynthesisVoice returns nil for all of the following:
AVSpeechSynthesisVoice(language: AVSpeechSynthesisVoice.currentLanguageCode())
AVSpeechSynthesisVoice(language: "en")
AVSpeechSynthesisVoice(language: "en-US")
AVSpeechSynthesisVoice(identifier: AVSpeechSynthesisVoiceIdentifierAlex)
AVSpeechSynthesisVoice.speechVoices().first
Post not yet marked as solved
In SwiftUI 3 we used the following code snippet to set the background color of a list.
struct ContentView: View {
var body: some View {
List {
Text("Hello World!")
}
.onAppear {
// Placed here for sample purposes, normally set globally
UITableView.appearance().backgroundColor = .clear
}
.listStyle(.insetGrouped)
.background(Color.red)
}
}
This is not working anymore in SwiftUI 4 (FB10225556) as the List is not based on UITableView anymore. Any workaround ideas?
Post not yet marked as solved
Is it possible to downgrade the watchOS 9 beta? I found that an Apple Store visit can archive it but that's not possible for everyone.
Post not yet marked as solved
is there a way let develop know an m1 pad has connected an external display?
if this pad is not in mirror-display mode, can I show two different window from one app in two screens?
Post not yet marked as solved
During one of the WWDC talks this year I remember hearing that when a user clicks cancel on an edit form you should show an alert warning them about discarding the changes before leaving. YET if there aren't any changes we should just exit when canceled.
Looking back at that I wonder how do you know if there are no changes? Right now I load the Core Data Entity fields on my page and set them one by one on save. Is there a better way that would also make it easier to know when to leave and when to warn when canceling? Are there any examples of this?
Thanks everyone.
Post not yet marked as solved
specifically:
https://www.macrumors.com/2022/06/15/ios-16-remove-subject-from-background/
Post not yet marked as solved
Will there be a user interface to configure lock screen widgets like home screen widgets? This seems to be implied as possible based on the stock apps, such as the Clock app lock screen widget saying "Add a clock for a city to check the time at that location." I could not figure out how to bring up the configuration GUI: long press various places has no effect.
Post not yet marked as solved
Hi there,
I'm struggling with the new NavigationSplitView.
struct Team: Identifiable, Hashable {
let id = UUID()
var name: String
var players: [String]
}
struct SplitView3: View {
@State private var teams = [
Team(name: "Packers", players: ["Rodgers", "Alexander", "Dillon"]),
Team(name: "Vikings", players: ["Ingram", "Cousins", "Berry"])
]
@State private var selectedTeam: Team?
@State private var selectedPlayer: String?
var body: some View {
NavigationSplitView {
List(teams, selection: $selectedTeam) { team in
Text(team.name).tag(team).navigationTitle("Team")
}.navigationBarHidden(true)
.navigationSplitViewColumnWidth(250)
} content: {
List(selectedTeam?.players ?? [], id: \.self, selection: $selectedPlayer) { player in
Text(player).navigationTitle("Team Member")
}
} detail: {
Form{
Text(selectedPlayer ?? "Choose a player.")
}
.navigationTitle("Player Detail").navigationBarTitleDisplayMode(.inline)
}
.navigationSplitViewStyle(.automatic)
}
}
When I run this in Simulator or Canvas I can navigate from Team (sidebar), trough Teammembers (content) to detail view and back to sidebar.
But after I reach the sidebar again the links forward to content view don't work anymore.
Did I miss something?