Search results for

Visual Studio Maui IOS

105,651 results found

Post

Replies

Boosts

Views

Activity

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
tvOS .background Colors
So I normally use the below as quick reference guide: https://mar.codes/apple-colors however, what is the reason that iOS colors are not available on tvOS? Especially the system/grays that are available on iOS. What does everyone else use for alternatives to these to get close matches between their multi platform apps?
1
0
91
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
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
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
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
List's shadow flickering
When Home tab opened, there is some white shadow on the bottom and the top sides of the list. But when switching to other tab or return to Home tab this shadow disappearing for a second and appearing again. Actual for iOS 26.0.1 on simulator and on real device. Below is short example code that can reproduce issue. When change let pages = UIPageViewController(transitionStyle: .scroll, navigationOrientation: .horizontal) to let pages = UIPageViewController(transitionStyle: .pageCurl, navigationOrientation: .horizontal) issue is not reproduced. import SwiftUI @main struct GlassTestApp: App { var body: some Scene { WindowGroup { MainView() .ignoresSafeArea() } } } struct MainView: UIViewControllerRepresentable { func makeUIViewController(context: Context) -> UITabBarController { let controller = UITabBarController() let home = Home() home.tabBarItem = UITabBarItem(title: Home, image: UIImage(systemName: house), tag: 1) let settings = UIHostingController(rootView: Settings()) settings.tabBarItem = UITa
4
0
219
1w
Unknown error when displaying IntentItems with images in widget configuration intent
Hi everyone, I’m building a simple sticky notes app that allows users to place a note widget on their home screen. Each widget displays a user-created sticky note. To let users choose which note to show, I’ve implemented an Intent that presents a list of existing sticky notes. The list is built using IntentItems, and for each item I assign an image to visually represent the note. Each sticky note can have a different background color and optional image, so I generate a small PNG (150×150, ~30 KB) and include it in the app bundle. However, when I try to display the selection list, I get the following error: The action Select sticky note could not run because an unknown error occurred. If I tap OK and try again, the intent selector appears and works. Here’s what I’d like to understand: What could cause this unknown error when using images in IntentItems? Are there known limitations on image size, source, or format for intent item images? Can I supply a unique image per sticky note, or must all intent i
0
0
65
1w
Reply to Example of DNS Proxy Provider Network Extension
[quote='861238022, GlacierSec, /thread/802691?answerId=861238022#861238022, /profile/GlacierSec'] So then it seems we would have to implement DNS Proxy to do what we want? [/quote] I don’t think that’ll actually work. Because of the DNS proxy deployment limitations [1], the ability to modify the proxy configuration is limited to development-signed apps. Once you sign your app for distribution, it’ll lose its ability to modify its DNS proxy configurations. Rather, the site admin is expected to configure the proxy using MDM payloads. Or at least that’s how it works with content filters. I can’t remember whether I’ve ever actually tested this with DNS proxies. However, both occupy a similarly privileged networking position and so I expect them to follow the same rules. A DNS proxy can (more or less) go into pass through mode by leaning in to the systemDNSSettings property. [quote='861238022, GlacierSec, /thread/802691?answerId=861238022#861238022, /profile/GlacierSec'] Or do you have other thoughts now on how to
1w
UIDesignRequiresCompatibility in a unit test
I have an app with thousands of snapshot tests, technically these are unit tests rather than UI tests, they take a snapshot of a view controller and compare the resulting image to a known image and fail if there are any changes. The app is not using Liquid Glass (yet) so I have added UIDesignRequiresCompatibility to my Info.plist file however this does not seem to be respected during my unit tests. Is there any way to run my snapshot tests on an iOS 26 simulator without using the new Liquid Glass UI?
Topic: UI Frameworks SubTopic: UIKit
0
0
37
1w
Reply to App Clips Causing CPSErrorDomain error 2 on Non App Clip URLs
What's interesting is I have another iOS that uses App Clips as well but on a different domain. The App Clip settings look pretty much the same on both apps and AASA is fine on both domains as well. However, it works perfectly fine on the other app. When the URL has an App Clip associated, it shows an App Clip popup. If it does not have it, it shows default Safari notification. But on this app, it just keeps showing the CPSErrorDomain error 2 when the URL does not have App Clips associated with it or it has but it's been temporary deactivated.
Topic: App & System Services SubTopic: General Tags:
1w
Unable to Download iOS 26 Simulator Runtime – “invalid signature (code or signature have been modified)” Error
When attempting to download the iOS 26 simulator runtime from Xcode → Settings → Platforms, the process fails with the following error: (-67061 invalid signature (code or signature have been modified) Domain: SimDiskImageErrorDomain Code: 5 User Info: { unusableErrorDetail = ; } Even after manually importing other runtimes (e.g., iOS 18.2), they do not appear under Xcode → Product → Destination, and the simulator list remains empty. System Information: macOS: 26.0.1 (Build 25A362) Xcode: 26.0.1 (24229) (Build 17A400) Processor: Intel Core i5 (Intel-based Mac) The error occurs consistently each time I try to download the runtime, preventing Xcode from adding the iOS 26 simulator. No third-party tools or manual modifications were made to Xcode. What I’ve Tried: Restarted Xcode and macOS Cleared DerivedData and simulator cache Verified Xcode path via xcode-select -p Imported iOS 18.2 runtime manually using: xcodebuild -importPlatform iOS_18.2_Simulator_Runtime.dm Reset CoreSim
0
0
80
1w