From looking at the documents, Apple did not provide anything to allow this. The object is no related to UIView or UIControls, so the commonly used behaviors inherited from UIRespodner are not available.
Responder objects — instances of UIResponder — constitute the event-handling backbone of a UIKit app...
From looking at the documents, Apple did not provide anything to allow this. The object is no related to
UIVieworUIControls, so the commonly used behaviors inherited fromUIRespodnerare not available.https://developer.apple.com/documentation/uikit/uiresponder#overview