Does anyone know if SwiftUI's TextEditor has a method equivalent to textField(_:shouldChangeCharactersIn:replacementString:)?
I need to know not only the change in text value but also where in the TextEditor it has occurred.
Post
Replies
Boosts
Views
Activity
I created a project in Xcode 12.0.1 (12A7300) using the Augmented Reality template and SwiftUI.
For some reason, the arView doesn't fill the complete screen, even though I've added .edgesIgnoringSafeArea(.all)
When using Storyboard, the template project does fill the complete screen.
After digging deeper, I noticed that the camera app (1x lens on iPhone 11 Pro Max), shows the same field of view as the SwiftUI AR app. So I believe that the arView is being fit to the camera feed image, instead of filling the screen.
Does anyone know how to let arView fill the screen when using SwiftUI as the interface framework?
Does anyone know when ARKit 3.5 features (specifically the Scene Geometry API) will be available for use in Swift Playgrounds on the 2020 iPad Pro (with LiDAR)?
Version 1.4 of Reality Composer is supposed to support export to USDZ (according to App Store update notes); However, I am not able to find anything in RC to do so. Anyone else have this issue?
In the WWDC demo, the tracked skeleton showed a variety of joints being tracked; however, in jointTransforms or modelTransforms, only the following seem to be available: head, shoulders, hands, hip joint (root), and feet. Has anyone been able to access elbow or knee joints? The video also showed joints at the spine, are these not available either? Any help would be greatly appreciated.
When importing a usdz asset that has a glass material, realitykit doesn't render it properly. Anyone know if this is a known issue?Note: the original asset was in .obj format and was converted using the Apple provided usdzconvert tool.