Ice Cubes have some very visible slowdown when scrolling the timeline on the Vision Pro. I’ve tried everything I can, and I can’t isolate it. The profiler gives me nothing interesting, and I’ve been attempting to remove every view one by one and come to no real conclusion. I have no idea what is going on. My guess is that it’s the iOS micro stutters people are telling me about but more visible but I’m not even sure anymore.
@dimillian honestly lag could be anything, but this was the most unexpected source of it for me. The file browser suffers from horrendous resize performance in-app because of this, I believe
@dimillian UIToolbar uses tooltips for all its button items, I guess — if there was something you were doing to use UIToolbar (explicitly or implicitly) for your cell controls, I could see it happening by accident
@dimillian@drheho iPhone 14 Pro here an it’s far from horrible - you‘ve come a long way already. But it’s not as butter-smooth as most other iOS Apps.
But to keep things into perspective: #linkedin should be considered a „pro“ App and the stuttering is WAY worse.
@dimillian@rstockm okay, okay. It’s not horrible but I would really love to have it smooth like I other apps.
Feels like it’s a bit smoother after disabling the action buttons.
@dimillian Have you tried profiling and looking in SwiftUI Instrument in Instruments.app? .help is one of the performance hogs in my experience, that's something I had to #if!os(visionOS) off. Another thing I found was the usage Buttons... (resolving button style was super expensive) so switched to onTap + hoverEffect + .accessibilityAddTraits(.isButton)
@tomkraina Oh yes, I’m trying every day, but I find nothing relevant. How did you find out that the help or button was slow? I’m looking at the time profiler and the body timing but it’s not obvious that those could be problematic. I find SwiftUI really hard to profile.
Add comment