Search results for

Visual Studio Maui IOS

105,791 results found

Post

Replies

Boosts

Views

Activity

My app attempts to use a socket to establish a connection with my external device, but it fails
My external device can generate a fixed Wi-Fi network. When I connect to this Wi-Fi using my iPhone 17 Pro Max (iOS version 26.0.1), and my app tries to establish a connection using the following method, this method returns -1 int connect(int, const struct sockaddr *, socklen_t) __DARWIN_ALIAS_C(connect); However, when I use other phones, such as iPhone 12, iPhone 8, iPhone 11, etc., to connect to this external device, the above method always returns successfully, with the parameters passed to the method remaining the same. I also tried resetting the network settings on the iPhone 17 Pro Max (iOS version 26.0.1), but it still cannot establish a connection.
0
0
13
2d
XCTest doesn't return the elements in navigation bar after iOS 26 upgrade
The buttons in the navigation bar are not available in the element tree after iOS 26 upgrade of the test phones. The same IPA version, the same XCode version, but different trees on different phones. There is no way to automate UI testing for these missing buttons. # ios 18 NavigationBar, 0x108e0c3c0, {{0.0, 47.0}, {390.0, 44.0}}, identifier: 'Profile' Button, 0x108e0c500, {{8.0, 47.0}, {43.0, 44.0}}, identifier: 'UserProfileSceneViewController_profile_back_button', label: 'chevronLeftIcon' StaticText, 0x108e0c640, {{169.3, 58.0}, {51.3, 22.0}}, label: 'Profile' Button, 0x108e0c780, {{339.0, 47.0}, {43.0, 44.0}}, identifier: 'UserProfileSceneViewController_settings_bar_button', label: 'Settings' # ios 26 NavigationBar, 0x13d63c8c0, {{0.0, 47.0}, {428.0, 54.0}}, identifier: 'Profile' StaticText, 0x13d63ca00, {{188.3, 58.0}, {51.3, 22.0}}, label: 'Profile'
0
0
23
2d
Reply to SwiftUI safe area stays offset after keyboard dismissal with “Reduce Motion” + “Prefer Cross-Fade” enabled (iOS 26)
Seeing the same thing, here's a small reproduction: import SwiftUI struct ContentView: View { @State private var text = @FocusState private var isTextFocused @Environment(.accessibilityReduceMotion) private var reduceMotion var body: some View { List { TextField(Input, text: $text) .focused($isTextFocused) .onSubmit { isTextFocused.toggle() } Text(Focus the text field then dismiss the keyboard) Text(Observe how the safe area doesn't change when dismissing the keyboard in iOS 26 with the below accessibility settings enabled.) Label(Reduce Motion? (reduceMotion ? true: false), systemImage: accessibility) Label( Prefer Cross-Fade Transitions? (UIAccessibility.prefersCrossFadeTransitions ? true: false), systemImage: accessibility ) } .scrollDismissesKeyboard(.immediately) .textFieldStyle(.roundedBorder) .border(.red) .safeAreaInset(edge: .bottom) { HStack { Text(This is in the safe area insets) Spacer() Button(Close Keyboard) { isTextFocused.toggle() } .buttonStyle(.borderedProminent) } .padding() .bord
2d
Reply to 'tabViewBottomAccessory' leaves an empty container when conditionally hidden
I’m currently shipping a production app using .tabViewBottomAccessory in SwiftUI (tested and stable on iOS 26.0). After testing on iOS 26.1, I’ve noticed that when the accessory view is conditionally hidden, the space it occupies remains visible — an empty gap appears right above the tab bar. This regression will negatively impact users once iOS 26.1 rolls out. FB20772048
Topic: Design SubTopic: General
2d
Reply to Keyboard Toolbar Padding iOS26
Here is a simple way to reproduce the issue: struct KeyboardToolbarItem: View { @State var text: String = foobar var body: some View { Form { TextField(Foo, text: $text) .toolbar { ToolbarItem(placement: .keyboard) { Button { } label: { Image(systemName: chevron.down) } } } } } } #Preview { KeyboardToolbarItem() } One would expect there to be some padding at the bottom of the button. This is on Xcode 26.1 Beta 3 & iOS 26.1 beta 4
Topic: UI Frameworks SubTopic: SwiftUI
3d
How to block large lists of domains (1000+) using Screen Time API?
I'm developing a parental control app that needs to block adult/18+ websites using the Screen Time API. I've run into scaling issues with 'ManagedSettings.webContent.blockedByFilter`. Environment: iOS 18.x, real device (iPhone) ManagedSettings framework Screen Time permissions granted Current Behavior: The Question: Commercial parental control apps successfully block tens of thousands of domains. What API or architecture should I be using to scale beyond 30-50 domains? Approaches I'm considering: Safari Content Blockers (limited to Safari only) Multiple ManagedSettingsStore instances Network Extension / DNS filtering A different Screen Time API approach What's the recommended way to block large domain lists (1000-60000+) across all apps and browsers? Any guidance appreciated! //33 domains - Works perfectly let blockedSites: Set = [ WebDomain(domain: example1.com), WebDomain(domain: example2.com), // ... 31 more domains ] store.webContent.blockedByFilter = .specific(blockedSites) // All 33 domains blo
0
0
28
3d
Reply to Exporting and restoring AttributedString in rich TextEditor (iOS 26)
Yeah, converting AttributedString to NSAttributedString and then to Data with NSAttributedString.DocumentType.rtf will lose SwiftUI attributes (because SwiftUI attributes aren't represented in an ObjC-based NSAttributedString), unless you convert the SwiftUI attributes to UIKit / AppKit attributes with your own code. You can convert AttributedString directly to RTF / RTFD data using AttributedTextFormatting.Transferable, which was newly introduced in iOS 26 and friends. The following code example shows how to do that: struct ContentView: View { @Environment(.self) private var environment ... private func attributedStringToRTF() async { var attributedString = AttributedString(inputText) attributedString.backgroundColor = .red print(Input: attributedString = (attributedString)) let transferable = AttributedTextFormatting.Transferable(text: attributedString, in: environment) guard let rtfData = try? await transferable.exported(as: .rtf) else { return } guard let transferrable2 = try? await AttributedTex
Topic: UI Frameworks SubTopic: SwiftUI Tags:
3d
CoreML regression between macOS 26.0.1 and macOS 26.1 Beta causing scrambled tensor outputs
We’ve encountered what appears to be a CoreML regression between macOS 26.0.1 and macOS 26.1 Beta. In macOS 26.0.1, CoreML models run and produce correct results. However, in macOS 26.1 Beta, the same models produce scrambled or corrupted outputs, suggesting that tensor memory is being read or written incorrectly. The behavior is consistent with a low-level stride or pointer arithmetic issue — for example, using 16-bit strides on 32-bit data or other mismatches in tensor layout handling. Reproduction Install ON1 Photo RAW 2026 or ON1 Resize 2026 on macOS 26.0.1. Use the newest Highest Quality resize model, which is Stable Diffusion–based and runs through CoreML. Observe correct, high-quality results. Upgrade to macOS 26.1 Beta and run the same operation again. The output becomes visually scrambled or corrupted. We are also seeing similar issues with another Stable Diffusion UNet model that previously worked correctly on macOS 26.0.1. This suggests the regression may affect multiple diffusion-style ar
0
0
399
3d
Reply to USDZ Gaussian Splat shaders
Hello, It is possible for Metal (on iOS) to render Gaussian splats based on the contents of a USDZ file. That said, there isn't any intentional restriction. Further, ARKit isn't a renderer and it interoperates well with Metal. AR Quick Look on the other hand may not support this technique directly so if that's what you need then we'd greatly appreciate an enhancement request.
Topic: Community SubTopic: Apple Developers Tags:
3d
Migrating a Single-View Objective-C Application to the UIKit Scene-Based Life Cycle
Hello! I've been using Objective-C to write a single-view application and have been using AppDelegate for my window setup. However, with the next release of iOS, I need to adopt SceneDelegate into my app for it to work. I'm having trouble getting my main ViewController to show up when the app starts. It just shows up as a black screen. I built this app entirely programmatically. When I go into my info.plist file, I have everything but the Storyboard setup since, obviously, I don't have one. I've left my code below. Thank you! My current AppDelegate: #import ViewController.h @interface AppDelegate () @end @implementation AppDelegate #pragma mark - UISceneSession Configuration - (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options { // Create the configuration object return [[UISceneConfiguration alloc] initWithName: @Default sessionRole: connectingSceneSession.role];
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
166
3d