Post

Replies

Boosts

Views

Activity

Reply to Issue with Copy Functionality in WKWebView Using Mac Catalyst
@Engineer The content I am trying to copy is text. For example, when using Google Translate (https://translate.google.com) within WKWebView, I translate a piece of text and then click the web page’s copy button. Although the webpage indicates that the copying was successful, there is actually no content copied to the clipboard. This functionality works as expected on both iPhone and iPad; however, it fails when running through Mac Catalyst.
Topic: Safari & Web SubTopic: General Tags:
Aug ’24
Reply to Issue with Copy Functionality in WKWebView Using Mac Catalyst
@Engineer The content I am trying to copy is text. For example, when using Google Translate (https://translate.google.com) within WKWebView, I translate a piece of text and then click the web page’s copy button. Although the webpage indicates that the copying was successful, there is actually no content copied to the clipboard. This functionality works as expected on both iPhone and iPad; however, it fails when running through Mac Catalyst.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Issue with Copy Functionality in WKWebView Using Mac Catalyst
This issue occurs on many websites, not just the one listed. However, the copy functionality is available on some URLs. I've attempted modifying the UserAgent without any success. webView.customUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15"
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24