标签: ios uikit uitextview swiftui uiviewrepresentable
这是具有覆盖方法的自定义文本视图
override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool { return (action == #selector(UIResponderStandardEditActions.copy(_:))) }