Search results for

smb big sur

11,796 results found

Post

Replies

Boosts

Views

Activity

Different toolbar item placement for iPhone vs iPad
On iPhone, I would like to have a more button at the top right of the navigation bar, a search field in the bottom toolbar, and a plus button to the right of the search field. I've achieved this via the code below. But on iPad they should be in the navigation bar at the trailing edge from left to right: plus, more, search field. Just like the Shortcuts app, if there's not enough horizontal space, the search field should collapse into a button, and with even smaller space the search bar should become full-width under the navigation bar. Right now on iPad the search bar is full width under the navigation bar, more at top right, plus at bottom middle, no matter how big the window is. How can I achieve that? Any way to specify them for the system to more automatically do the right thing, or would I need to check specifically for iPhone vs iPad UIDevice to change the code? struct ContentView: View { @State private var searchText = var body: some View { NavigationStack { VStack { Text(Hello, world!) } .na
3
0
112
Jul ’25
How to scale a SwiftUI view to fit its parent
Code that reproduces the issue import SwiftUI @main struct KeyboardLayoutProblemApp: App { var body: some Scene { WindowGroup { iOSTabView() } } } struct iOSTabView: View { var body: some View { TabView { GameView() .frame(maxWidth: UIScreen.main.bounds.width, maxHeight: UIScreen.main.bounds.height) .tabItem { Label(Play, systemImage: gamecontroller.fill) } } } } struct GameView: View { var body: some View { VStack { Text(Play) Spacer() KeyboardView() } .padding() } } struct KeyboardView: View { let firstRowLetters = qwertyuiop.map { $0 } let secondRowLetters = asdfghjkl.map { $0 } let thirdRowLetters = zxcvbnm.map { $0 } var body: some View { VStack { HStack { ForEach(firstRowLetters, id: .self) { LetterKeyView(character: $0) } } HStack { ForEach(secondRowLetters, id: .self) { LetterKeyView(character: $0) } } HStack { ForEach(thirdRowLetters, id: .self) { LetterKeyView(character: $0) } } } .padding() } } struct LetterKeyView: View { let character: Character var width: CGFloat { height*0.8 } @ScaledMetric(rel
Topic: UI Frameworks SubTopic: SwiftUI
0
0
69
Jul ’25
Reply to FileManager.removeItem(atPath:) fails with "You don't have permission to access the file" error when trying to remove non-empty directory on NAS
It's more likely that Finder is calling a network-specific file operation for the SMB or AFP connection. You said you could work around the problem by manually doing a recursive delete. But does that mean that this actually works? Permissions can be complicated, especially on a Linux-based file server that the user could have configured in an unusual fashion.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Ios26 beta 3 concerns about liquid glass design
With the new ios 26 beta 3 helps some stabillty and performance issues but most of the liquid glass has been removed or made very frosty look; and it defeats the whole purpose of a big redesign, and even thought the changes are because of readability and contrast complaints it should not take away liquid glass design. I think apple should consider adding a toggle or choice to choose if they would want a more frosted look or a more liquid glass look the the original plan.
Topic: Design SubTopic: General Tags:
2
0
190
Jul ’25
Ios26 beta 3 concerns about liquid glass design
With the new ios 26 beta 3 helps some stabillty and performance issues but most of the liquid glass has been removed or made very frosty look; and it defeats the whole purpose of a big redesign, and even thought the changes are because of readability and contrast complaints it should not take away liquid glass design. I think apple should consider adding a toggle or choice to choose if they would want a more frosted look or a more liquid glass look the the original plan.
Topic: Design SubTopic: General Tags:
1
0
230
Jul ’25
iOS 18.5 MDM Screen Lock
Hello, I am running into a bit of an issue with the Screen Timeout/Screen Lock setting and would like some clarification on. First for a bit of context, I am enrolling personal iOS devices 18.0+ into the company MDM (Intune) with Account Driven User Enrollment. We are trying to set a screen timeout of 5 minutes and immediately after it asks for the passcode on the device, though this setting is not being applied and the device timeout setting can be set as Never on the user's end. This is a big security risk for the company I work for and and the issue with being HIPAA compliant. According to the Microsoft Intune Support, In iOS 18, when using Account-Driven User Enrollment for BYOD (Bring Your Own Device) scenarios, the screen lock timeout setting is indeed marked as “Not Applicable”. This is because Apple’s privacy-preserving model for personal devices restricts administrative control over system-level settings like screen lock or idle timeout. I am needing clarification on the item mentioned from
1
0
927
Jul ’25
Reply to How to create file system snapshots with fs_snapshot_create?
You don't want to end up unnecessarily copying to the system volume when you could have cloned by staying inside the correct file system. I don't understand. Doesn't URLResourceKey.volumeSupportsFileCloningKey allow me to detect if cloning is supported? on the smb side, I don't think there's currently any way to preserve file clones across the smb copy, even when both sides support cloning I thought you were saying that with the deprecated Carbon API one can clone files, but then I don't understand why file clones are not preserved. Do you mean when copying a folder that contains file clones, those files are copied and not cloned?
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Reply to Nomenclature Issue
It’s a conditional operator that takes three inputs, so calling it ternary conditional operator doesn’t seem like a big stretch. Regardless, I’m not the person you need to convince here. If you want to discuss this with Swift language folks, I recommend that you bounce over to Swift Evolution. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’25
Reply to WebDAV mount fails over IPv6 using Finder and NetFSMountURLSync (GetServerInfo error 5)
Hi, We were successfully able to mount an SMB network share using its IPv6 address. We tried mounting SMB via Finder as well as NetFSMountURLSync and it worked. How is SMB mount working? The NetFS framework is actually a relatively thin wrapper on top of individual NetFSPlugins written as part of each network file system driver. Case in point, while this log message: GetServerInfo failed with error 5 ...did come from the NetFS framework, the function that actually returned 5 was the WebDAVPlugin implementation of GetServerInfo. That leads back to here: How is SMB mount working? I haven't looked at their code in detail, but the high-level answer is that they're totally different code paths. smb's URL structure is more complicated and the smb project is under much more active development, both of which probably helped avoid the problem. I will say that some work was done ~15 years to support IPv6 URLs as part of our transition from afp to smb, but t
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
Reply to SwiftUI Gestures: Sequenced Long Press and Drag
I started with a sequenced DragGesture and ran into the same problem: no way to get the start location (before the drag starts). Then I tried using .simultaneously instead of .sequenced: let longPressDrag = LongPressGesture(minimumDuration: 0.2) .onEnded { value in } .simultaneously(with: dragGesture) .updating($state, body: { value, state, trans in dragStartLocation = value.second?.location ?? .zero }) .onEnded({ value in dragStartLocation = .zero }) This kind of works: the LongPressGesture sets dragStartLocation (before releasing the touch or dragging). I'm using this with a ScrollView. If I quickly drag, the ScrollView scrolls. If I touch, then wait before dragging, I can set scrollDisabled on the ScrollView and the DragGesture takes over. Unfortunately, there's one big problem: the LongPressGesture always takes 1 second to process. It doesn't matter if minimumDuration is set to 0.1 seconds or 10 seconds. So we're left with two undesirable options: Use a sequenced gesture, which uses the correct m
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’25