Post

Replies

Boosts

Views

Activity

Immersive View max tap gesture distance
Is there a maximum distance at which an entity will register a TapGesture()? I'm unable to interact with entities farther than 8 or 9 meters away. The below code generates a series of entities progressively farther away. After about 8 meters, the entities no long respond to tap gestures. RealityView { content in var body: some View { RealityView { content in for i in 0..<10 { if let immersiveContentEntity = try? await Entity(named: "Immersive", in: realityKitContentBundle) { content.add(immersiveContentEntity) immersiveContentEntity.position = SIMD3<Float>(x: Float(-i*i), y: 0.75, z: Float(-1*i)-3) } } } .gesture(tap) } var tap: some Gesture { TapGesture() .targetedToAnyEntity() .onEnded { value in AudioServicesPlaySystemSound(1057) print(value.entity.name) } } }
0
0
250
May ’24
16.4.1(a) App Launch Delay
On two devices that I've updated with yesterday’s 16.4.1(a) security update (an iPhone 8 and an iPad Pro M1) I am suddenly seeing a 6-8 second delay before ContentView is shown when running builds from XCode -- this didn't happen before the update. On my iPhone 14 still running 16.4.1 launch time is normal, less than 1s. Is anyone else seeing this? This is happening with both debug and release builds. Interestingly, if I quit the app and run it again directly from the device the app launches and runs normally.
2
2
672
May ’23