Search results for

Visual Studio Maui IOS

105,652 results found

Post

Replies

Boosts

Views

Activity

Alternative to generate programmatically a local hotspot like in Android?
Hello, we are developing hardware that needs to connect to an iPhone via Wi-Fi to send requests to a server. On Android, we have managed to create a programmatic local hotspot within the app to facilitate connection and improve the user experience. On iOS, however, Personal Hotspot must be manually enabled from the system settings, and the user must manually enter the SSID and password, which significantly degrades the UX. My questions are: Is there a workaround, unofficial method, or private API to generate a local hotspot from an app on iOS, similar to what can be done on Android? Is there an alternative within the MFi program or through specific frameworks to facilitate a quick and automatic connection between the hardware and the iPhone without relying on the manual Personal Hotspot? Are there any best practices for improving the local Wi-Fi connection experience between an accessory and an iPhone in the absence of hotspot controls? I would appreciate any guidance, experience, or resourc
1
0
35
1w
Reply to Alternative to generate programmatically a local hotspot like in Android?
Is there a workaround, unofficial method, or private API to generate a local hotspot from an app on iOS, similar to what can be done on Android? No APIs exist that will allow an app to turn the iOS device into a hotspot. Are there any best practices for improving the local Wi-Fi connection experience between an accessory and an iPhone in the absence of hotspot controls? We have a range of APIs an app can use to have the iPhone connect to a specific hotspot. In a modern app, that flow starts by pairing with your Wi-Fi accessory using AccessorySetupKit, then using either NEHotspotManager or our Wi-Fi aware support to actually join that hotspot. Note that while the AccessorySetupKit documentation is primarily focused on Bluetooth, that's largely because the Bluetooth process is significantly more complicated than the Wi-Fi flow. Is there an alternative within the MFi program? Nothing* in the MFi program applies to your particular situation. We do license WAC (Wireless Accessory Configuration) t
1w
Reply to Push notification MacOS "discarded as device was offline"
While there is a somewhat known issue with apsd not being able to sustain a persistent connection to APNs under certain network conditions/configurations, there is also the requirement that the devices receiving the notifications needs a persistent, non-proxied connection to APNs. Outside of the no proxy requirement, the root cause is not known, and if you can file a new bug report on this, more data would be helpful. In the meantime, you can try a different network connection, turn off any VPNs on your device, and if you have an option to not be behind a proxy things might work better. But please file a Bug Report on this In your bug report we would need some diagnostics logs as well. Please go to https://developer.apple.com/bug-reporting/profiles-and-logs/ and follow the instructions for Notifications for iOS to install a logging profile on your device. Then reproduce the issue (both before and after killing apsd), and follow the instructions at the above link to create a sysdiagnose. Attach it alo
1w
Navigation Bar animation upon Tab change
Hi. Since Xcode 16 and/or iOS 18.0 (I upgraded at the same time), I have an strange effect in the lower (let's say) 20% section of the Navigation Bar when changing to another tab, and this independently if large titles are used or not. Mentioned section is brighter or darker than the rest of the Navigation Bar background, depending on which background tint is used. This effect lasts about 0.3 seconds, but is clearly visible, quite disturbing and new as of Xcode 16 and/or iOS 18.0. I use the code below in AppDelegate to get a gradient coloured Navigation Bar background. let appearance = UINavigationBarAppearance() UINavigationBar.appearance().standardAppearance = appearance UINavigationBar.appearance().compactAppearance = appearance UINavigationBar.appearance().scrollEdgeAppearance = appearance UINavigationBar.appearance().compactScrollEdgeAppearance = appearance If I don't use above code., the background color is filled and without gradient. Subject effect doesn't show in this case. The effe
1
0
699
1w
How to consume video from an RTSP service?
Hi,It seems like it's pretty easy to consume HTTP Live Streaming content in an iOS app. Unfortunately, I need to consume media from an RTSP server. It seems to me that this is a very similar thing, and that all of the underpinnings for doing it ought to be present in iOS, but I'm having a devil of a time figuring out how to make it work without doing a lot of programming.For starters, I know that there are web-based services that can consume an RTSP stream and rebroadcast it as an HTTP Live Stream that can be easily consumed by the media players in iOS. This won't work for me because my application needs to function in an environment where there is no internet access (it's on a private Wifi network where the only other thing on the network is the device that is serving the RTSP stream).Having read everything I can get my hands on and exploring third-party and open-source solutions, I've compiled the following list of ideas:1. Using an iOS build of the open-source ffmpeg lib
9
0
16k
1w
Keychain and Local Data Loss After App Transfer Between Developer Accounts
Hello everyone, We recently transferred our iOS app from one Apple Developer account to another, and after the transfer, we encountered a serious issue where all previously stored Keychain data and the local database became inaccessible. As a result, all users are automatically logged out and lose access to their locally stored data (such as chat history) once they update to the new version signed with the new Team ID. We understand that Keychain items are tied to the App ID prefix (Team ID), which changes during an app transfer. However, we’re looking for possible workarounds or best practices to avoid user data loss. Questions: Is there any reliable method to maintain or migrate access to old Keychain data after an app transfer? Would reverting the app back to the original developer account and releasing an update from there (to persist or migrate data) before transferring it again be a viable solution? Has anyone faced a similar issue and found a practical way to handle data persistence during an
1
0
96
1w
Reply to Managed Apple ID - Testflight not useable
We have this issue too. How can our iOS engineering team do their jobs without access to testflight if we adopt managed apple ids? The only reference on the topic is here: https://support.apple.com/guide/apple-business-essentials/service-access-with-managed-apple-accounts-axm171b3ee95/web which cites privacy concerns as a nebulous non-reason. Our teams that own mobile software need to use testflight to test release-track builds.
Topic: Business & Education SubTopic: General Tags:
1w
iOS 26: FloatingBarContainerView overlapping the whole custom ViewController
Hi everyone: I'm experiencing an issue in iOS 26. I've implemented a custom ViewController. It's super simple to edit images with flip, crop, zoom in, and zoom out. My question is that it seems very strange to me. It works without problems in iOS 17.5 and iOS 18. However, when I try to run it with iOS 26, the entire ViewController seems disabled; it doesn't recognize touches or anything. When I checked the UI hierarchy, I saw a strange FloatingBarContainerView overlaying the entire ViewController. I searched the documentation for information about this view, but I couldn't find anything. Any help on how to hide or remove this view in iOS 26? This hasn't been implemented anywhere.
2
0
177
1w
Reply to iOS 26: FloatingBarContainerView overlapping the whole custom ViewController
Thank you very much for your answer!. Well, the custom view controller was using the standard storyboard with UIKit, and I was adding my custom CropView programmatically. Now debugging in detail between iOS 17.5, iOS 18, and iOS 26, it seems that in iOS 26, it always shows that FloatingBarContainerView (maybe it's something related to liquid glass by default), so by code I added: let cropViewAsView = cropView as! UIView cropViewAsView.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ cropViewAsView.leadingAnchor.constraint(equalTo: view.leadingAnchor), cropViewAsView.trailingAnchor.constraint(equalTo: view.trailingAnchor), cropViewAsView.topAnchor.constraint(equalTo: view.topAnchor), cropViewAsView.bottomAnchor.constraint(equalTo: view.bottomAnchor) ]) And this fixed my issue, as you commented, related to the storyboard. I forgot to add the constraints layouts, and it seems that my custom crop view was starting with frame CGRect zero by default
Topic: UI Frameworks SubTopic: UIKit Tags:
1w
Example of DNS Proxy Provider Network Extension
I am trying to setup a system-wide DNS-over-TLS for iOS that can be turned off and on from within the app, and I'm struggling with the implementation details. I've searched online, searched forums here, used ChatGPT, and I'm getting conflicting information or code that is simply wrong. I can't find example code that is valid and gets me moving forward. I think I need to use NEDNSProxyProvider via the NetworkExtension. Does that sound correct? I have NetworkExtension -> DNS Proxy Capability set in both the main app and the DNSProxy extension. Also, I want to make sure this is even possible without an MDM. I see conflicting information, some saying this is opened up, but things like https://developer.apple.com/documentation/Technotes/tn3134-network-extension-provider-deployment saying a device needs to be managed. How do private DNS apps do this without MDM? From some responses in the forums it sounds like we need to parse the DNS requests that come in to the handleNewFlow function. Is there good sa
10
0
216
1w
Reply to Xcode26 build app with iOS26, UISplitViewController UI issue
This way of setting view controllers broke in iOS 26, causing the bug you reported: viewControllers = [firstVC, secondVC] instead, try this: if #available(iOS 26.0, *) { splitVC = UISplitViewController(style: .doubleColumn) splitVC.preferredSplitBehavior = .tile splitVC.setViewController(firstVC, for: .primary) splitVC.setViewController(secondVC, for: .secondary) } else { // your previous setup }
Topic: UI Frameworks SubTopic: UIKit Tags:
1w
Apple Pay JS v3 in Angular: postMessage origin mismatch and onpaymentauthorized never fires
Description: I’m integrating Apple Pay JS (version 3) into an Angular application. Here are the key details: Environment: Angular (latest) Apple Pay JS v3 Chrome (confirmed window.ApplePaySession is available) application region is in US. I'm in Taiwan and using my iPhone Taiwan account to scan the QR Code/ Implemented Handlers: onvalidatemerchant onpaymentmethodselected onpaymentauthorized oncancel Observed Behavior: When I click the Apple Pay button, the console logs: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://applepay.cdn-apple.com') does not match the recipient window's origin ('https://{our-domain-name}') Despite this, the QR code still appears. Scanning the QR code with an iPhone 13 Pro running iOS 18.4.1 brings up the Apple Pay sheet with the correct amount, but payment never completes. In the browser, none of my Angular event handlers fire except oncancel. Questions: What causes the postMessage origin mismatch with Apple’s CDN frame, and how should my
3
0
164
1w