Is it possible to programmatically create a constraint between two views that are in separate windows?
If it is, then I can think of a possible improvement to an answer to "UIView atop the Keyboard similar to iMessage App".
I could set tableView.keyboardDismissMode = UIScrollViewKeyboardDismissModeInteractive
, where tableView
displays the messages, and use a dummyInputAccessoryView
. Then, I want to use Auto Layout to constrain the height of dummyInputAccessoryView
to that of toolbar
, which contains inputTextView
& sendButton
, and the top of
toolbarto that of
dummyInputAccessoryView`.