Post

Replies

Boosts

Views

Activity

Reply to Strange UIButtonBarButton layout errors on all textView, fields and searchbars on iPad only
// Workaround to remove autolayout errors when keyboard shows on iPad. // NSAutoresizingMaskLayoutConstraint:0x28376afd0 h=--& v=--& _UIButtonBarButton:0x107f0ce30.height == 0   (active) // Introduced approx iOS 14.2 according to https://developer.apple.com/forums/thread/667441 // Side effect: Removes the redo/undo and paste buttons from the keyboard let item = textField.inputAssistantItem item.leadingBarButtonGroups = [] item.trailingBarButtonGroups = []
Feb ’21