Skip to content

Commit

Permalink
open ios webview copy
Browse files Browse the repository at this point in the history
  • Loading branch information
luorui committed Jun 24, 2020
1 parent 0ed1fe5 commit 6864e7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/Classes/InAppWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate, WKNavi
if #available(iOS 10, *) {
if action == #selector(UIResponderStandardEditActions.select(_:))
|| action == #selector(UIResponderStandardEditActions.cut(_:))
|| action == #selector(UIResponderStandardEditActions.copy(_:))
|| action == #selector(UIResponderStandardEditActions.paste(_:))
|| action == #selector(UIResponderStandardEditActions.delete(_:))
|| (action == #selector(customShare))
Expand All @@ -801,6 +802,7 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate, WKNavi
}
} else {
if action == #selector(select(_:))
|| action == #selector(copy(_:))
|| action == #selector(cut(_:))
|| action == #selector(paste(_:))
|| action == #selector(delete(_:))
Expand Down

0 comments on commit 6864e7a

Please sign in to comment.