I need to obtain data through mqtt and subscription? Is there any idea or framework ? Think you
mqtt for vision pro
Apple platforms have no built-in MQTT API. There are, however, a number of third-party MQTT libraries. I’ve not used any of them, so I don’t have a specific recommendation, but my general advice is that you look for one based on Network framework [1].
IMPORTANT visionOS, like all Apple platforms other than macOS, puts strict limits on what your app can do in the background. You won’t be able to resume your app in the background based on MQTT traffic. The discussion in iOS Background Execution Limits applies here as well.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] That includes ones that use SwiftNIO, because of SwiftNIO Transport Services.