Search results for

Visual Studio Maui IOS

105,655 results found

Post

Replies

Boosts

Views

Activity

AppIntents + CSSearchableItemAttributeSet: only displayName indexed?
On iOS 18, I'm trying to index documents in Spotlight using the new combination of AppIntents+IndexedEntity. However, I don't seem to be able to index the textContent of the document. Only the displayName seems to be indexed. As recommended, I start with the defaultAttributeSet: /// I call this function to index in Spotlight static func indexInSpotlight(document: Document) async { do { if let entity = document.toEntity { try await CSSearchableIndex.default().indexAppEntities([entity]) } } catch { DLog(Spotlight: could not index document: (document.name ?? )) } } /// This is the corresponding IndexedEntity with the attributeSet @available(iOS 18, *) extension DocumentEntity { var attributeSet: CSSearchableItemAttributeSet { let attributeSet = defaultAttributeSet attributeSet.title = title attributeSet.displayName = title attributeSet.textContent = docContent attributeSet.thumbnailData = thumbnailData attributeSet.kind = document attributeSet.creator = Constants.APP_NAME return attributeSet }
10
0
359
1w
Reply to iOS 26: FloatingBarContainerView overlapping the whole custom ViewController
Thank you for your post and for providing a detailed description of the issue. If I understand correctly, the UI was created using Storyboards? I always recommend starting with a simple, out-of-the-box UI in iOS 26 and then customizing it. Could you please provide a method to isolate the functionality of the FloatingBarContainerView into a single, focused, and simple project? So we can download and take a look? Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
1w
[Regression] Core Location underground positioning inaccurate on iOS 26.1 beta (23B5044i)
Summary While parallel testing Core Location on the new iOS 26.1 beta (23B5044i), I observed what I believe to be a regression of the issue described here: https://developer.apple.com/forums/thread/779192 Specifically, user positioning underground subway stations is noticeably inaccurate on the beta, whereas the same scenarios remain accurate on the unupgraded device below. I work with the MTA (New York City) and work with the OP of that thread. Happy to provide additional testing or details if helpful. Please let me know what else you need. Test Info Riding NYCT from Wall St to 34th St Penn Station on the 2 train carrying two iphones Recording: https://limewire.com/d/dpTWi#pDC3GRYIdE Expected: Consistent underground positioning comparable to prior releases. Actual: Degraded/inaccurate underground positioning on iOS 26.1 beta. Test Devices Left Screen: iPhone 15 Pro Max - iOS 26.1 beta (23B5044i) Right Screen: iPhone 11 - iOS 18.6.2 (22G100) Blue dots show location set by C
3
0
151
1w
Reply to iOS26: Back button changes appearance when modal screen is shown
While the technique of using the appearance APIs might remain valid for customizing the navigation bar in iOS 18 and earlier, starting in iOS 26, we recommend you reduce your use of custom backgrounds in navigation elements and controls and let the system determine the navigation bar background appearance. Any custom backgrounds and appearances you use in the navigation bar might overlay or interfere with Liquid Glass or other effects that the system provides. To learn how to customize your app’s navigation bar in iOS 25, please review the sample code provided in the Customizing your app’s navigation bar documentation.
Topic: UI Frameworks SubTopic: UIKit Tags:
1w
CLLocation.sourceInformation.isSimulatedBySoftware not detecting third-party location spoofing tools
Summary CLLocationSourceInformation.isSimulatedBySoftware (iOS 15+) fails to detect location spoofing when using third-party tools like LocaChange, despite Apple's documentation stating it should detect simulated locations. Environment iOS 18.0 (tested and confirmed) Physical device with Developer Mode enabled Third-party location spoofing tools (e.g., LocaChange etc.) Expected Behavior According to Apple's documentation, isSimulatedBySoftware should return true when: if the system generated the location using on-device software simulation. Actual Behavior Tested on iOS 18.0: When using LocaChange sourceInformation.isSimulatedBySoftware returns false This occurs even though the location is clearly being simulated. Steps to Reproduce Enable Developer Mode on iOS 18 device Connect device to Mac via USB Use LocaChange to spoof location to a different city/country In your app, request location updates and check CLLocation.sourceInformation?.isSimulatedBySoftware Observe that i
2
0
102
1w
Reply to CLLocation.sourceInformation.isSimulatedBySoftware not detecting third-party location spoofing tools
Hi Albert, Thank you for the clarification. I have a few follow-up questions: Developer Mode Detection: Is there an official API to detect if Developer Mode is enabled on iOS 16+? We've found that third-party location spoofing tools (like LocaChange) require Developer Mode to be enabled. For location-dependent apps that need to assess spoofing risk, detecting this state would be valuable. What's the recommended approach? External Location Providers: You mentioned third-party tools are external location providers. Does this mean they use a different mechanism than CLLocationManager? Is there any way to distinguish between genuine GPS and external providers programmatically? Security Best Practices: For apps requiring location authenticity (fraud prevention, geofencing, etc.), what is Apple's recommended approach to detect location spoofing via third-party tools? Are there any APIs, private frameworks, or best practices you can suggest? Feature Request: Would Apple consider adding APIs like: isDevelope
1w
External GPS receiver
Hello, We are a software and hardware development company for the forestry and environmental sectors. We have been based in Quebec (Canada) for over 30 years now. Our Canadian market covers Quebec, Ontario, and the Maritime provinces in the east. We are currently expanding across Canada and into the northern United States. We are on Android platforms with several map and data entry applications. To ensure the success of our expansion, we aim to become part of the Apple family, which is why we are contacting you today. We have developed our own GNSS receiver to increase the location accuracy of our users. It uses Bluetooth BLE to communicate with mobile devices and a high-precision GPS that transmits its position using the NMEA protocol. We would like this device to be compatible with an iPhone/iPad. We have developed a mock location application in MAUI (multi-platform). Based on our interpretation of your documentation, we understand that the concept of mock location does not exist at Apple. How can
1
0
77
1w
Reply to iOS18,CoreText EXC_BREAKPOINT
Hello, We don't have specific points of the app code where it may be crashing, since it's random, we already seen code crashing at very different locations around the app. Currently, about 5% of our users base is having this crash, also another detail, we are seeing this around different versions of iOS, not specific to iOS 18 or 26. We suspected at first about the compiler of new Xcode 26 (since this was the first version compiled with new Xcode), but it seems it is not that. We have sent a new build out today, compiled with Xcode 16.4, but no luck, still crashes. I'm attaching 2 screenshots, from the crashing stacktrace, one from Sentry and the other one from Xcode crash reporter directly. Also, attached the .crash file with the full stacktrace that can be found at Xcode. 2025-10-01_14-37-42.7083_-0500-2937c5ddef763873e9e26e42e243231a23e27df5.crash
Topic: App & System Services SubTopic: General Tags:
1w
Is there a `isiOSAppOnVision` flag to check iOS app on Vision Pro at runtime?
Hello, When an iOS app runs on Vision Pro in compatible mode, is there a flag such as isiOSAppOnVision to determine the underlying OS at runtime? Just like the ProcessInfo.isiOSAppOnMac. It will be useful to optimize the app for visionOS. Already checked but not useful: #if os(xrOS) does not work in compatible mode since no code is recompiled. UIDevice.userInterfaceIdiom returns .pad instead of .reality. Thanks.
9
0
2.8k
1w
Apple Watch Ultra exercise app and activity rings won’t connect after charging
Since upgrading to iOS 26 beta on my Apple Watch Ultra and iPhone 16 Pro Max, my exercise app and activity rings have sporadically not connected after charging. Several recent mornings, when I’ve put my watch on, the activity rings are grayed out and when I click on them, they will show no activity, even though I have been active. Similarly, when I attempt to select the activity app, it will open, but when I select an activity, it will not start the workout. I’ve tried starting and restarting the watch and phone. I’ve checked permissions, and both the watch and phone are running the latest iOS. The only fix seems to be unpairing and repairing the watch and phone which is an absolute pain. Any assistance on how to permanently fix this would be greatly appreciated.
3
0
115
1w