This question seems to come close to what I need, but not quite...
I have a UIView (UITableView, to be precise) that has an assigned set of AL constraints, usually from IB (It's supposed to be a reusable class, so that's why "usually").
I need to nudge the bottom when the keyboard pops up. I know how to get the keyboard events and the keyboard size, so getting the number and the execution thread isn't a problem.
Nudging the bottom is. Since this is a reusable class, and the controller's purview does not extend outside the UITableView (which is where the table's lower AL constraint lives), I can't do the "tie the constraint to the controller" thing that I'd otherwise do.
This means that I need to get the constraint programmatically. If there's no constraint, then I need to know that, so I can tell the view to hitch up its skirts the old-fashioned way.
If there is a layout constraint, then I need to get the one that anchors the bottom of the table view.
Since there could be all kinds of junk there (like people assigning multiple constraints), I can't just grab the first constraint in the anchor.
I have a feeling that there's no actual solution to this, and I'll end up extending the bottom of the table view's scrollable content size, and hitching the contentOffset. That will work, but it won't be as "cool." :)
Any ideas?