skip to Main Content

Xcode – SwiftUI PreferenceKey not Updating

I'm struggling trying to implement a PreferenceKey. I've read countless articles, so obviously I'm missing something. onPreferenceChange reports once at simulator startup but not during scrolling. Scrolling updates the text in the TextEditor overlay, but the offsetCGSize property is apparently…

VIEW QUESTION
Back To Top
Search