Open cloudjanak opened 8 years ago
My best guess would be to call layoutSubviews
on THContactPickerView
Workaround which worked for me:
@IBOutlet weak var buddyPicker: THContactPickerView!
@IBOutlet weak var contactPickerHeight: NSLayoutConstraint!
func contactPickerDidResize(contactPicker: THContactPickerView!) {
self.contactPickerHeight.constant = contactPicker.frame.height
UIView.animateWithDuration(0.2) {
self.view.layoutIfNeeded()
}
}
Confirmed here. Anybody have any workarounds? Nothing I'm trying is working here either.