Hi, I am an application developer for Mac. Our application uses bluetooth to connect to our hardware devices.
Since the upgrade to MacOS 12.0.1 Monterey Bluetooth is broken customer wide. Hence pairing works but our driver cannot connect (code worked for MacOS 10.7 - 11.3). The internet reports a lot of Bluetooth issues related to Broadcom BT on Monterey and the Bluetooth Framework has changed significantly by Apple.
Where can I find detailed information about Apple's Bluetooth changes ?
Should I just wait until Apple fixes this from their side ?
Any other guidance is appreciated.
Thank you?
Post
Replies
Boosts
Views
Activity
The following code fails since iOS14.x
Is this a bug? No depreciation statements found in the SDK.
Is there a workaround?
import UIKit
class ViewController: UIViewController {
private lazy var barButtonItem: UIBarButtonItem = {
UIBarButtonItem(image: .add, style: .plain, target: self, action: #selector(doSomething))
}()
override var navigationItem: UINavigationItem {
let item = super.navigationItem
item.rightBarButtonItem = barButtonItem // <- Thread 1: EXC_BAD_ACCESS (code=2, address=...)
item.title = "TestCase"
return item
}
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
@objc private func doSomething() {
print(">>doSomething")
}
}
We are running a complex software since iOS4 and cannot simply migrate to SwiftUI.
https://stackoverflow.com/questions/64270033/override-var-navigationitem-uinavigationitem-fail-in-ios-14