Browse Source

【综合】DFP广告图片加载模式调整

niehaoyu 10 months ago
parent
commit
da91f8f6ba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      PDF Office/PDF Master/Class/AD/KMAdsWebView.swift

+ 1 - 0
PDF Office/PDF Master/Class/AD/KMAdsWebView.swift

@@ -40,6 +40,7 @@ class KMAdsWebView: NSView, WKNavigationDelegate, CAAnimationDelegate {
 
         adsImageView = NSImageView.init(frame: self.bounds)
         adsImageView.autoresizingMask = [.width, .height]
+        adsImageView.imageScaling = .scaleAxesIndependently
         addSubview(adsImageView)
 
         adPosY = 30.0