Post

Replies

Boosts

Views

Activity

Reply to Expected behaviour iOS14 vs iOS15 - Bound text in TextField goes out of sync with source of truth value on iOS15 Xcode Beta 2
Got same problem with text field only solution but last symbol appears for a moment in in field looking not good IMHO @Published var pin:String = "" { didSet { DispatchQueue.main.async { [weak self] in guard let self = self else { return } while self.pin.count > 4 { self.pin.removeLast() }}}}
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21