The brand new animation in Stage Manager greatly reduced dizziness. However, don’t know why it ONLY applies when no window was presented. What would be the problem elsewhere? Stage Manager is one of pretty few motion pictures that annoyed me and forced me to turn on Reduce Motion, or stop using Stage Manager. Big pity… macOS 26.0 (25A5346a) wont use ipad to post…
Search results for
smb big sur
11,839 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi, I am trying to list the contents of a directory selected by the user using the following code: let documentPicker = UIDocumentPickerViewController(forOpeningContentTypes: [.folder]) documentPicker.delegate = self self.present(documentPicker, animated: true) func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) { guard let folderUrl = urls.first else {return} let startAccessingt= folderUrl.startAccessingSecurityScopedResource() guard startAccessing else { print(ERROR) return } defer { if startAccessing { folderUrl.stopAccessingSecurityScopedResource() } } var error : NSError? = nil NSFileCoordinator().coordinate(readingItemAt: folderUrl, error: &error) { (url) in let startAccessing = url.startAccessingSecurityScopedResource() guard startAccessing else { print(ERROR 2) return } defer { if startAccessing { folderUrl.stopAccessingSecurityScopedResource() } } do { let files = try FileManager.default.contentsOfDirectory(at: url, includingPropertiesForKeys: [.nameK
@gravity_gunner I’ve run into exactly the same issue when trying to list the contents of a folder selected through the document picker on an SMB share. I noticed you had mentioned filing a bug report about it, but unfortunately the links you shared don’t open for me, so I can’t check the status. Have there been any updates on this problem, or a known workaround?
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
Here is a simple view to demonstrate the issue struct ContentView: View { @State private var isPresented = false var body: some View { VStack { Button(Test) { isPresented = true } } .alert(Test, isPresented: $isPresented, actions: { Button(Delete All, role: .destructive) {} }, message: { Text(Are You Sure?) }) .padding() } }``` Which results in  The destructive button is almost unreadable. WCAG score is 1.4, far below the minimum recommended 4.5. I found [this post](https://stackoverflow.com/q/66448869) on SO going back to Big Sur, but not on this forum. Any known workarounds (except for building my own dialogs, which I am trying to avoid)? Using confirmationDialog instead of alert does not make a difference.
Here is a simple view to demonstrate the issue struct ContentView: View { @State private var isPresented = false var body: some View { VStack { Button(Test) { isPresented = true } } .alert(Test, isPresented: $isPresented, actions: { Button(Delete All, role: .destructive) {} }, message: { Text(Are You Sure?) }) .padding() } } Which results in The destructive button is almost unreadable. WCAG score is 1.4, far below the minimum recommended 4.5. I found this post on SO going back to Big Sur, but not on this forum. Any known workarounds (except for building my own dialogs, which I am trying to avoid)? Using confirmationDialog instead of alert does not make a difference.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Seeing the same issue on beta 9. This is a big blocker for us.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Hi, after upgrading to MacOS Sequoia, my connection to my local IP address does not work. The issue is with the PF (MacOS advanced firewall), as I confirmed that my local application works disabling it temporarily. Does anyone know how can I do to solve this problem? As APP developer, this is a big problem for me. Thanks in advance.
[quote='856714022, pnelson, /thread/798550?answerId=856714022#856714022, /profile/pnelson'] I think this is just how macOS 15 and 26 work. [/quote] Ah, cool. I thought we’d broken something in macOS 26 (which wouldn’t come as a big surprise). [quote='856714022, pnelson, /thread/798550?answerId=856714022#856714022, /profile/pnelson'] Not sure why its UI stays up. [/quote] Yeah, that’s just weird, and I do think it’s worth you filing a bug about it. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
Privacy & Security
SubTopic:
General
Tags:
Bug number: FB20072274 Title: (SMB Disconnect Causes macOS Disk I/O Call open () to Hang for 10 Minutes). I don't think the system will prevent you from reading or writing to a file that's been opened with O_EVENTONLY (assuming you pass in the necessary option). The main risk is exactly what you'd expect, namely that it won't prevent unmount, which could risk data loss. I tried that. The I/O does happen even with the O_EVENTONLY flag, but it still doesn't solve the timeout problem. I think that's the only option if you're specifically using the pattern of opening the file handle and performing I/O to it over time. In addition to reading whole file, I have a use case to read stream of data and not the entire file at once.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
First off, as a quick confirmation, do you see this behavior when you’re using another Mac as the SMB server? I don't think you will, but that's worth confirming. Even with a different Mac running as a server, a 10 min timeout was observed. OK. Please file a bug on this and post the bug number back here. I think passing O_EVTONLY into open would work; however, I'm not sure that's really usable for I/O. O_EVENTONLY is only used for watching files like file modification, file renamed, deleted, etc. It can't be used in this context. I don't think the system will prevent you from reading or writing to a file that's been opened with O_EVENTONLY (assuming you pass in the necessary option). The main risk is exactly what you'd expect, namely that it won't prevent unmount, which could risk data loss. Note that the other option here would also be to pass in O_NONBLOCK and shift to non-blocking I/O. I'm currently using blocking I/O. Shifting to non-blocking I/O is the only way for faster timeouts? I think that'
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Is there a way to get a sheet on the side over an interactive view with a proper glass background on iPad? Ideally, including being able to drag the sheet between medium/large-height sizes (like a sheet with presentationDetents on iPhone), similar to the Maps app: I tried the NavigationSplitView like in the NavigationCookbook example. This is somewhat like it, but it's too narrow (sidebar-like) and doesn't get the full navigation bar: I also played around with .sheet and .presentationDetents and the related modifiers, thinking I could make the sheet appear to the side; but no luck here. It seems to have all the correct behaviors, but it's always presented form-like in the center: Example code for the sheet: import SwiftUI import MapKit struct ContentView: View { var body: some View { Map() .sheet(isPresented: .constant(true)) { NavigationStack { VStack { Text(Hello) NavigationLink(Show Foo) { Text(Foo) .navigationTitle(Foo) .containerBackground(Color.clear, for: .navigation) } } } .presentationDetents([.mediu
Topic:
UI Frameworks
SubTopic:
SwiftUI
I'm now lamenting ever supporting the iPad. It seems that device is just not playing nice. In SwiftUI you're supposed to be able to use .windowResizability(.contentSize). On macOS, I use that along with modifying my main view with .frame(idealWidth: 1024, idealHeight: 768) and this forces the window to have a content area of that size. tvOS is a non-issue since you're always dealing with 1920 pt x 1080 pt screens. iPhone also a non-issue at least for my games. But with iPad and iOS 26, even if attempting something similar as for macOS, you really don't have ultimate control. I was able to at least set a min of 360 and max of around 500 for the iPad window. But attempting say 720 x 720 will fail since a user and/or system can resize the window. And even when using Canvas, content will now be offscreen. Example (see attached). The actual window height is around 560 pt. So querying the size parameter to Canvas seems to be useless if wanted to use to drive how big to render things. Apple made a huge mist
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
First off, as a quick confirmation, do you see this behavior when you’re using another Mac as the SMB server? I don't think you will, but that's worth confirming. Even with a different Mac running as a server, 10 min timeout was observed. I think passing O_EVTONLY into open would work; however, I'm not sure that's really usable for I/O. O_EVENTONLY is only used for watching files like file modification, file renamed, deleted etc. It can't be used in this context. Note that the other option here would also be to pass in O_NONBLOCK and shift to non-blocking I/O. I'm currently using blocking I/O. Shifting to non-blocking I/O is the only way for faster timeouts?
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Following the topic of intercepting file access events: could you suggest other technologies that are better suited to achieve this goal? So, I think the big question here is what are you actually trying to do“? The core problem here is that: Read I/O is REALLY frequent, so the system doesn't want to do anything that would make it slower/more complicated. Memory mapping makes the idea of tracking reads somewhat... questionable. As the most extreme example of this, take the file that's the backing libsystem.dylib. EVERY (yes, EVERY) process in the system has mapped it into memory and is accessing it very frequently. Tying any I/O activity on that file to any specific process isn't really possible or meaningful. Even if you could track actual I/O activity (meaning, read from disks) and tie it to a particular process, all that would tell you is which process happened to ask for a page I didn't have. It wouldn't tell you anything about the other X processes that accessed the data directly from VM without
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I'm a bit confused as to what we're supposed to be doing to support starting a workout using Siri in iOS/watchOS 26. On one hand, I see a big push to move towards App Intents and shortcuts rather than SiriKit. On the other hand, I see that some of the things I would expect to work with App Intents well... don't work. BUT - I'm also not sure it isn't just developer error on my part. Here are some assertions that I'm hoping someone more skilled and knowledgable can correct me on: Currently the StartWorkoutIntent only serves the Action button on the Watch Ultra. It cannot be used to register Shortcuts, nor does Siri respond to it. I can use objects inherited from AppIntent to create shortcuts, but this requires an additional permission to run a shortcut if a user starts a workout with Siri. AppIntent shortcuts requires the user to say Start a workout in - if the user leaves out the in part, Siri will not prompt the user to select my app. If I want to allow the user to simply say Start a Workout and ha
Topic:
App & System Services
SubTopic:
Health & Fitness
Tags:
Siri and Voice
SiriKit
Intents
App Intents