Hello,
My goal is to display the live video stream from a HomeKit camera in my Swift/SwiftUI iOS app.
Using HMHomeManager, I have retrieved the HMHome object and found the camera as an HMAccessory object. Within this, I have located the HMCameraProfile and, through it, the HMCameraStreamControl. So far, I believe I understand the object model.
However, I do not know how to display the stream.
I have come across the CameraView, but I am not sure how to access the required HMCameraSource for the CameraView from the aforementioned object model.
Is my current approach fundamentally incorrect?
I would appreciate it if you could explain the relationships involved and possibly point me to an example project.
Best regards,
Matthias
Post
Replies
Boosts
Views
Activity
Hi,
i'm writing my first iOS Live Activity.
Two questions about that:
If "NSSupportsLiveActivitiesFrequentUpdates" is set, how many high-priority updates are permitted? I found no exact count.
If the Live Activity is ended by user in the Lock Screen (swiping left and remove), how can I catch this to stop server-side update requests?
Thanks!
I use adhoc distribution to install my app to iOS and (via Apple Watch app) watchOS.
After updating to watchOS8 and iOS15 the app did not start on the watch. iOS app is running without problems.
I tried uninstalling an re-installing the app on the watch.
Installing throws error: "This app could not be installed at this time.
Could not install at this time."
Tried re-installing the app on iOS, switching deployment target in XCode to ios15 and watchOS8, rebooted all devices.
No success.
WatchOS App is running in Simulator without problems and debugging the app on the watch via XCode is working fine, too.
Only adhoc distributed installation fails.
Console shows no specific errors on both devices.
Adhoc distribution UUID's are correct.
Do you have any suggestions?
Hi,
I'm new in iOS development.
I use adhoc distribution to provide an early version of an app to friends.
Due to easier updating, I would like to provide over-the-air installation via manifest and ipa file download.
Because Safari do not send cookies while downloading manifest and ipa files, I have an issue providing the files behind a login.
Therefore I think about providing the files without a login.
Now to my question: Is there any reason to NOT provide the files (especially the adhoc-distribution ipa file) to public internet? Are there any information (account, certificates, signings, ...) in this file beside the code of the app itself, that should remain private?
Greetings
Matthias