Slow/jittery performance with ListBox scroll on iOS

I replaced Juce Viewport with native iOS UIScrollView

Here is gist of my Viewport. You can modify ListBox or TableListBox to use this Viewport and it will work great on iOS.

Most important part is in ios_viewport.mm.
Once added to project make sure to specify that ios_viewport.mm is Objective-C++ in Xcode and you added flag “-fno-objc-arc” to compiler schema.

3 Likes