Answering my own question....
When you add a UITextInteraction, a UIEditMenuInteraction gets added automatically. So it's possible to iterate through the view's interactions and find the menu interaction using isKindOfClass, and call dismissMenu on that.
It's a bit of a hack, but I've done much worse and it seems to work.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: