I have a particular use case which falls outside of development, specifically: I have a client who wants to use multiple iPhones to do multi-camera recording and monitor the video from ALL of the cameras in real-time. It's easy to use screen mirroring to mirror one phone to their laptop, but it's not possible to mirror multiple screens onto the same machine (obviously). Running multiple VMs to act as AirPlay receivers would work perfectly for this -- except that the VMs would have to be signed in to the same Apple ID to be able to mirror the display, and I can't sign in to any Apple ID at all.
If there is some other workaround, I'd be pleased to hear it.
Post
Replies
Boosts
Views
Activity
The .environmentObject was the reason I was getting it as well. The following all have to be true for prevent the crash and to compile properly:
The model has to be @Observable.
You must include @EnvironmentObject var modelData: ModelData in your view definition.
You need the .environmentObject(ModelData()) modifier on the view instantiation in the preview.