Skip to content

Conversation

@studiogaram
Copy link
Contributor

  1. Use 'canimport' flag to organize the codes related to UIKit.
    (If UIKit is not available, AppKit determined that it is available and wrote the code.)
  2. WKWebView on Mac does not have UIScrollView, unlike WKWebView on iOS. Therefore, we created and used 'ScrollAdjustedWKWebView', which overrides the 'scrollWheel' function so that the surrounding UIScrollView can be scrolled.
  3. Mac does not offer the SFSafariView Controller. Therefore, do not support .sfsafariview in an environment without UIKit.Use Safari as the default for link selection.

PS. MessageUI deleted the import code because it appears to be an unused framework. You can rewrite it when you want.

related issue link: #34

@NuPlay
Copy link
Owner

NuPlay commented Jul 16, 2023

LGTM!
Thanks for resolving the issue on my behalf.

I will review and release it.

@NuPlay NuPlay merged commit 454cc55 into NuPlay:main Jul 16, 2023
@NuPlay NuPlay mentioned this pull request Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants