Disabling Keyboard Avoidance in SwiftUI's UIHostingController
Read OriginalThis article dives into a specific SwiftUI bug where UIHostingController's automatic keyboard avoidance causes problematic scrolling, especially when embedded in UIKit components like table view cells. It details the author's investigation process, including attempts with `.ignoresSafeArea(.keyboard)`, runtime inspection, and exploring the underlying `_UIHostingView` class to find a solution for iOS 14.0 and 14.2.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet