Search results for

Visual Studio Maui IOS

105,765 results found

Post

Replies

Boosts

Views

Activity

Network Framework: LAN vs Wifi vs Peer to Peer Wifi Switching
I would like to understand the behaviour of Network framework when I have established a connection between 2 iOS devices which are connected through LAN and the same Wifi. Assumptions: Enabled includePeerToPeer. Devices are discovered and connected through Bonjour: When the connection establishes for the first time, does it automatically decide which interface to pick? I see some posts which point to Happy Eyeball algorithm but that seem to point more towards ipv4 vs ipv6 rather than Wifi vs LAN vs P2P. In the middle of a connection, if the established connection has issues, does the Network framework automatically switch to the best available interface? If not, I would assume the app will have to handle the switching in betterPathUpdateHandler callback? I’m curious what needs to be done here. Do I just create a new connection and hope that it picks the actual better path? The NWInterface.InterfaceType doesnt have a type for peer to peer wifi. Does that mean that when the interface actually switches
1
0
38
4d
iOS 26 Keyboard Toolbar with Menu Buttons: Menu appears above hidden toolbar (instead of taking up it's space)
Hi Community! I'm wrangling with this for a few days now and can't find a way to fix it, but I see it working in other apps. I have a regular UIToolbar with buttons, assigning it as inputAccessoryView to a UITextView, so the toolbar appears above the keyboard (I can reproduce this also in SwiftUI). The toolbar contains regular UIBarButtonItems, except one doesn't have an action, it has a UIMenu (using .menu = UIMenu...). In the Apple Notes app, there is also one button that shows a menu like that. When you tap on the button, the toolbar disappears and the menu shows directly above the keyboard. However, in my code it shows above the hidden toolbar, means there is a huge gap between keyboard and menu. It works if I attach the toolbar (in SwiftUI) to the navigation at the top or bottom, just with the keyboard it behaves differently. Here is some sample code for the toolbar: private lazy var accessoryToolbar: UIToolbar = { let toolbar = UIToolbar() let bold = UIBarButtonItem(image: UIImage(systemName: bold), sty
1
0
82
4d
Auto-renewable subscriptions not loading in React Native app after App Store approval when testing via Xcode
Hello, I’m facing an issue with auto-renewable subscriptions in my React Native iOS app using react-native-iap. Before App Store approval, everything worked perfectly — I could test in-app purchases and subscriptions locally on my iPhone through Xcode using a development build and sandbox tester. After the app was approved and released on the App Store, I needed to make some updates. Now, when I build and run the same project again through Xcode (Debug, development-signed) on my iPhone, the subscriptions no longer load. The same product IDs are approved and live in App Store Connect. The live version on the App Store works fine (subscriptions load and process successfully). But on the local Xcode build, getSubscriptions() returns invalid product identifiers or an empty list. No changes were made to the bundle ID or product IDs The build is signed with an Apple Development certificate and uses the same team and bundle identifier as the published app. “In-App Purchase” capability is enabled. I’ve also
0
0
68
4d
How to prevent VoiceOver from reading text INSIDE an image?
In the example below, VoiceOver (in both iOS 18 and 26) reads the text contained within the image after the .accessibilityLabel, introduced by a “beep.” VoiceOver: Purple rounded square with the word 'Foo' in white letters. Image [beep] foo. I’d like it to only read the accessibility label. As a developer focused on accessibility, I make sure every image already has an appropriate label, so having iOS read the image text is redundant. Sample Code import SwiftUI struct ContentView: View { var body: some View { Image(TextInImage) .resizable() .scaledToFit() .frame(width: 64, height: 64) .accessibilityLabel(Purple rounded square with the word 'Foo' in white letters.) } } Sample Image Drop this image in to Assets.xcassets and confirm it's named TextInImage.
3
0
79
4d
Reply to version update in Vision Pro
Hi thanks for the reply! the problem I'm having is with the alignment of a model. I tap 2 times on a 3D model and then 2 times on a grid of spheres. after calculating the alignment the model should jump to it's new position on the grid of spheres and match the target points. I have an unknown visual offset after the alignment even though visually I can see the taps are in the correct place. I'll add a snippet of my alignment function and an image of the visual. the brute force offset you can see in the code was to try and move the alignment a meter to the left (which wasn't successful). func alignModel2Points() { guard let modelPointA = modelPointA, let modelPointB = modelPointB, let targetPointA = targetPointA, let targetPointB = targetPointB, let modelRootEntity = modelRootEntity, let modelAnchor = modelAnchor else { print(❌ Missing data for alignment) return } let offset = SIMD3(-1, 0, 0) let modelPointA_shifted = modelPointA + offset let modelPointB_shifted = modelPointB + offse
4d
macOS App Groups / transition to profile based groups
Hi, I have a macOS app distributed through the App Store that uses an app group to share data with app extensions. The group identifier has the form: .group. In Xcode 26 I am now asked to convert the project to profile based app groups (like on iOS). My question is: Can I convert the project to profile based app groups and will the existing app group (which is prefixed with the Team ID) continue to work (and will exiting users still be able to access their data). If yes, should I add the app group with or without the Team ID prefix to the profile.
2
0
116
4d
Reply to Speech Recognition Problem in iOS 18.0
@iaborodin (and everyone) Checking back in on this. I updated both XCode and iOS to 26. I rebuilt Apple's Spoken Word app with a minimum deployment of iOS 26. From what I see nothing has changed since I looked at this roughly 1 year ago. If the code has: recognitionRequest.requiresOnDeviceRecognition = true Words are dropped after a brief pause (approx 2 seconds) while still recording. If you pause after speaking your final word(s), then click 'Stop recording the final callback with the result.isFinal flag set to true will be blank/empty. But If the code has: recognitionRequest.requiresOnDeviceRecognition = false No words are dropped. If you pause after speaking your final word(s), then click 'Stop recording the final callback with the result.isFinal flag set to true will be every word spoken. So, status quo and still broken from what I see. My workaround is to set the requiresOnDeviceRecognition flag = false. Fortunately, this seems to work even if the phone is in airplane mode (ie. no netw
Topic: App & System Services SubTopic: General Tags:
5d
Exporting and restoring AttributedString in rich TextEditor (iOS 26)
I am working with the rich TextEditor introduced in iOS 26, but I am having trouble preserving AttributedString formatting when converting to/from RTF. Here is my exporting logic in my view model (AttributedString to RTF) let nsAttrStr = NSAttributedString(self.text) // text is an AttributedString (bound to the TextEditor input) let range = NSRange(location: 0, length: nsAttrStr.length) let options: [NSAttributedString.DocumentAttributeKey: Any] = [ .documentType: NSAttributedString.DocumentType.rtf ] guard let data = try? nsAttrStr.data(from: range, documentAttributes: options) else { return nil } let rtfBase64 = data.base64EncodedString() When I inspect the result, it seems to lose the font, size, boldness, etc which is being correctly rendered in the TextEditor. When I convert back from RTF to an AttributedString, it reverts to the default text formatting applied in the TextEditor. Any ideas what could be going wrong?
1
0
128
5d
Expo Store review
Hi does anyone have trouble using expo store review package for ios apps. for some reason on our app., the review may show for certain people, but when they submit a review, it doesn't update our review count
0
0
59
5d
Connect Apple Watch to Xcode.
How to connect Apple Watch to Xcode? I haven't used Apple Watch for ages but it used to work fine. Today after adding changes to one of my apps Watch extension I wanted to test it on my Apple Watch but I'm not able to get Xcode to discover my Apple Watch. Apple watch has both Bluetooth and Wifi on. It's connected to the same Wifi as my Mac mini. Watch is paired with iPhone and the iPhone is connected to Mac mini via USB cable. Deploying to iPhone works fine, but I Xcode doesn't see as Apple Watch. iPhone sees Apple Watch. I tried Xcode 16.2, and Xcode 26.0 and Xcode Version 26.1 beta 2. I updated Apple Watch to Watch OS 26 but it didn't help. iPhone 12 Pro Max, iOS 26.0 Apple Watch Series 8 (GPS), watchOS 26.0.2 Mac mini 2025, Apple M4 Pro, macOS 15.6 Please advise. It's so frustrating! I wasted 2 hours on that already. In the past (years ago) I used to manage 3 apps with Apple Watch extensions and connection were finicky but it wasn't so bad!
1
0
120
5d
I get this error:
Validation failed (409) Invalid Version. The build with the version “1.4.1” can’t be imported because a later version has been closed for new build submissions. Choose a different version number. (ID: 488836e5-c319-44c3-828b-394470c3620a) I'm using air for ios with adobe animate. I change the version number in the publish settings (making sure it's higher) and try again and again but I still get the same error, Can anyone help?
1
0
216
5d
Reply to iOS 26 - S/MIME Encryption / Certificates
Hi Apples. My experience with the Outlook account is that it tried to log me in 3 times a day even after I had already signed in and was logged in. In the end, I decided to completely delete it from iOS along with all Microsoft apps, including extensions, on all my devices, but it still keeps showing me the “Sign in” prompt. So far. Would you like the translation to sound more formal or casual?
Topic: Community SubTopic: Apple Developers Tags:
5d