I was unsuccessful in debugging the cause of this issue but our interim solution was to provide our users with a long press action to copy the meta data that is relevant to the user in that view.
Based of this answer: UIWebView without Copy/Paste when displaying PDF files
let longPress =UILongPressGestureRecognizer(target: self, action: #selector(copyOptions))
longPress.allowableMovement = 100
longPress.minimumPressDuration = 0.3
longPress.delegate = self
longPress.delaysTouchesBegan = true
longPress.delaysTouchesEnded = true
longPress.cancelsTouchesInView = true
self.wrapper.addGestureRecognizer(longPress)
func copyOptions () {
let alertController = UIAlertController(title: "Copy", message: nil, preferredStyle: .alert)
alertController.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: { action in
}))
if let someValue = self.someObject?.someValue {
alertController.addAction(UIAlertAction(title: "Copy Some Value", style: .default, handler: { action in
UIPasteboard.general.string = someValue
}))
}
self.present(alertController, animated: true, completion: nil)
}