I’m encountering an unexpected issue while using NEHotspotConfigurationManager.shared.apply(...) to connect to a Wi-Fi network. Specifically, I’m receiving a userDenied error, even though the user did not interact with any system prompt.
Here’s a version of the code I’m using:
let config = NEHotspotConfiguration(ssid: ssid, passphrase: passphrase, isWEP: false)
// config.joinOnce = true
NEHotspotConfigurationManager.shared.apply(config) { error in
if let err = error {
let nsErr = err as NSError
mlog("err.code:\(nsErr.code)")
if nsErr.code == NEHotspotConfigurationError.alreadyAssociated.rawValue {
self.findWiFiListAndConnect(ssid, passphrase, overtimeSec, timeStart)
} else {
self.cmdDelegateQueue.async {
self.delegate?.wifiClose(nsErr.code)
}
}
}
}
The error returned is:
wifiClose status: 7
Which corresponds to NEHotspotConfigurationError.userDenied. According to the official Apple documentation, this error should only occur when the user explicitly cancels the system dialog. However, in my case:
• No system dialog appears.
• The user does nothing, yet the error is still returned.
• This issue does not happen every time, but it has been observed across multiple devices.
Additional info:
• iOS version: 18.5
• Device model: iPhone
• joinOnce is not set (defaults to false)
• Existing configuration is removed using removeConfiguration(...) before applying
Is it possible that under certain system states (e.g. backgrounded, network restrictions, or app permissions), iOS silently fails without showing the prompt?
Has anyone else encountered this issue, or does anyone know what could cause this behavior?
Any help is greatly appreciated!
Hardware
RSS for tagDelve into the physical components of Apple devices, including processors, memory, storage, and their interaction with the software.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
first post here and this is kinda a long shot. I’m working on a custom keypad project for a young man with some mobility issues that unfortunately prevents gestrue and voice control as UI options.
id like to see if I can pull track metadata via a Bluetooth connection into a custom keyboard with a small screen.
I know hid doesn’t support this but I was hoping maybe the API for iOS’s blueprint remote app could be leveraged.
I haven’t don’t much with Apple previousl. Usually Roku and Crestron implantations but I’m hoping to see if I can accomplish something with Apple, without needing to implement any IP connection.
Topic:
App & System Services
SubTopic:
Hardware
Tags:
External Accessory
HIDDriverKit
tvOS
Core Bluetooth
Will UVC native support come for the Iphone as well?
So, using external cameras with the ipad is greatly beneficial, but for the iphone, it can make it a production powerhouse!
So, have there been discussions around bringing UVC support for the Iphone as well? and if so, what were your conclusions?
Macbook pro M4 - will not accept any power adapter after beta update
iPhone 16 pro - same exact problem
Devices are dead
Tried multiple chargers - Watch and IPad appear to be taking a charge for now..
Immediately after installing iOS 26 on my iPhone 14 Pro, my phone display stopped working. It's not responding to touch, but I can see it charging. It also wakes the screen whenever I pick it up, but it's not touching at all. What do I do, or do I have to downgrade?
Hi there!
I'm developing a dual-mode bluetooth accessory and would like to pair it through AccessorySetupKit. I'm using an ESP32 with Bluekitchen btstack. This supports CTKD, which seems to be a requirement for the Bluetooth transport bridging according the WWDC19 session 901. I've been in contact with the btstack developer and verified that I can get the device to generate an LTK for the classic transport when reading an encrypted attribute. I'm not able to get this to work with the bluetoothTransportBriding option with AccessorySetupKit though.
What I've found so far is that if I omit the .bluetoothTransportBriding option during pairing I will get a pairing request when I read an encrypted attribute after connecting with the CBConnectPeripheralOptionEnableTransportBridgingKey option. If I accept this request it seems like the system automatically brings up the A2DP profile.
However if I include .bluetoothTransportBriding and/or .bluetoothPairingLE this option does not pop up, but the system does not bring up the A2DP profile. In this case things seem to end up in a weird situation where the device doesn't show up for pairing in Bluetooth Settings either, making it impossible to manually connect for A2DP.
Based on the AccessorySetupKit example from WWDC24 I've created a dice accessory firmware for ESP32 using btstack. The code for this is available here: https://github.com/ljodal/esp32-btstack-ctkd-test
I've also tweaked the AccessorySetupKit example app for iOS to add the ASAccessory.SupportOptions. The code for that is available here: https://github.com/ljodal/accessorysetupkit-ctkd-test
Is there any documentation available anywhere on what is expected of the device for Bluetooth Transport Bridging to work with AccessorySetupKit?
Topic:
App & System Services
SubTopic:
Hardware
Tags:
External Accessory
Accessories
Core Bluetooth
AccessorySetupKit
Hi,
We are developing a Matter switch product. The switch contains 4 buttons, and each button supports click, double click, and held actions. Currently, the device can be successfully commissioned with a HomePod mini, and in the Apple Home app, it is displayed as 4 buttons with options for click, double click, and held for each.
The only issue is that the order of the 4 buttons in the Home app does not correspond to the endpoint order (endpoint 1–4). For example, the following mapping might occur:
endpoint 1 → button 2
endpoint 2 → button 3
...
We found a related issue on the Apple Developer Forums that matches what we're experiencing:
https://developer.apple.com/forums/thread/772367?utm_source=chatgpt.com
According to the official response, the problem seems to be caused by insufficient metadata being reported by the device. Could you please provide more specific guidance on what exact information needs to be reported from the device side?
We have already tried adding the Fixed Label and User Label clusters to the device, but they don't seem to have any effect.
Ideally, we would like the button labels in the Home app add our custom names in the correct order, as below:
button 1 (right_button)
button 2 (up_button)
button 3 (down_button)
button 4 (left_button)
This would provide a much better user experience.
Thank you in advance!
We have an application that is built for communication for emergency first responders. Our app streams video from emergency responder mobile devices to other responders, however, when the app moves into the background, or the screen locks, the stream is terminated. Is there a way to allow the stream to persist.
Topic:
App & System Services
SubTopic:
Hardware
Recently I got an issue on App Store that my build got rejected because of iPad Air 5. My app include Device binding which means sim should be present in Device while using the app, where as, I mad the app mainly for iPhone not for pads. But AppStore is rejecting my build saying getting no sim issue in iPad Air 5th gen And os 18.5 . So what should I do? Which device I should prefer so that I can use it future also , should not be outdated within some time.
Topic:
App & System Services
SubTopic:
Hardware
HomePod Mini running 18.6 build 22M5054/b - will not update to HomePod OS26
have tried un-enrollment, reset, removal, etc - no dice - anyone else seeing this ? Any known work arounds ?
iPad is running iPadOS 26 Relase 2 - 23A5276f
I'm using AirPods Pro 2 with an iPhone 15 Pro Max. After installing the IOS 26 beta I'm not able to get the new features to work. Does anyone have thoughts or info? Thanks
We have developed a live iOS application, built using Swift and UIKit, that enables users to connect via Bluetooth to an EV charging box. Once connected, users can start and stop the charging process directly from the app.
The app also requires an active internet connection initially, as it uses server-side functionality to select and authorize the charging box. However, we recently discovered an issue affecting users on iPhone 14 and iPhone 15 models, specifically when the device enters Satellite mode (Emergency SOS via Satellite) — i.e., when there is no mobile data or Wi-Fi.
In this mode, the system Satellite screen is triggered and Bluetooth stops functioning, preventing our app from connecting to the EV box. Users are unable to proceed, even though the app would still be usable via Bluetooth once the box is selected.
We have already declared required Bluetooth background modes (bluetooth-central, bluetooth-peripheral) in Info.plist, and the app functions perfectly outside of this scenario. However, the behavior in Satellite mode appears to either disable Bluetooth entirely or restrict access from third-party apps.
We’d like to know
Is this the expected default behavior on iOS in Satellite mode?
Is there any entitlement or exception available to allow Bluetooth access in such emergency scenarios (especially for critical utilities like EV charging)?
Can an app like ours be made visible under the Satellite settings, or request access under this mode?
This is a concern for users in remote or basement locations where mobile data is unavailable, and they rely solely on Bluetooth to charge their vehicles.
Please advise if there is a workaround or planned support in future iOS versions.
Thank you.
Hi i had problem after upgrade to ios 26. I try connected to my xiaomi earbud bluetooh, all functioning well (watch movie, listen song) except when on call, the bluetooth cannot function at all. Only able speak on phone or loud speaker. Already try do setting at Audio & Visual > Call Audio Routing > Bluetooth Headset. Anyone facing the same issue?
I opened a terminal window this morning and couldn't cd to /home. When I type a tilde, I get a paragraph symbol. Yesterday, my external keyboard could type a Pipe symbol, no such luck today.
I ended up having to use hidutil to remap my keyboard and run keystrokes through terminal to restore what worked yesterday.
When I look at the available English keyboards, they're all showing a paragraph symbol above the Tab key.
Has anyone else run into this sudden keyboard change?
Topic:
App & System Services
SubTopic:
Hardware
Since 17.4 Dev Beta 2, I have been having Bluetooth issues.
I had hoped it would have cleared up but even in 17.4.1 it continues.
Airpod and Echo Auto are the only 2 audio devices I have.
The audio will become chopping, rubber band or sound robotic and sometime completely disconnect.
While driving it will occur on both audio devices.
Sometimes I'm stopped at red light and the issue occurs.
The phone is less than 3 feet from the device at all times.
I have read forums and removed and readded the devices but that did not help.
I really do not want to have to reset my phone since my 2FA apps do not recover in a restore.
Anyone have any suggestions?
The battery drains quickly on iPhone SE 3. Whenever I take it off the charger it drains from 100% to 80% in 20 minutes. Please fix this bug?
Topic:
App & System Services
SubTopic:
Hardware
Hello,
I recently installed the macOS 26 beta version on my MacBook Air M3, and I've encountered an issue where edited Word files are failing to save. I’ve tried restarting my laptop and checking for updates, but the problem persists.
Has anyone else experienced this issue? Is there a specific setting I might have missed or any troubleshooting steps you recommend?
Thank you for your assistance!
Topic:
App & System Services
SubTopic:
Hardware
Our company is developing an MFi headset with a button that we would like to use for initiating PTT.
We can detect the button press and initiate PTT successfully, even when the app is not in the foreground, using the ExternalAccessory framework.
But I wonder if this is a coincidence, or a scenario that should reliably work with Push to Talk?
我在Core Bluetooth中发现了连接数量相关的错误码:CBError.Code.connectionLimitReached。
但是并没有找到最大连接数量相关的定义。请问在哪里可以找到最大连接数量相关的定义?
Hello. I have a problem with update check ! Say “ error to Check update” update section on my iPhone 16 pro.
what Is the solution to fix?
Topic:
App & System Services
SubTopic:
Hardware