That's an interesting issue and there currently is no built-in mechanuism to automatically handle it. I'd suggest filing an enhancement request.In the meanwhile, you'll need to listen for the trait collection changes and rework your toolbar layout in response. I'd suggest moving the excess buttons into a popover, while is presented from a More button, when in the compact environment.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: