diff --git a/NovaAdapter.podspec b/NovaAdapter.podspec index 0db4210..9ed299a 100644 --- a/NovaAdapter.podspec +++ b/NovaAdapter.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |spec| spec.name = "NovaAdapter" - spec.version = "0.0.71" + spec.version = "0.0.72" spec.summary = "an adapter for Google SDK" spec.description = "an adapter for Google SDK for MSP S2S" diff --git a/NovaAdapter/NovaAdapter.xcodeproj/xcuserdata/huanzhizhang.xcuserdatad/xcschemes/xcschememanagement.plist b/NovaAdapter/NovaAdapter.xcodeproj/xcuserdata/huanzhizhang.xcuserdatad/xcschemes/xcschememanagement.plist index e97d4b9..9256b28 100644 --- a/NovaAdapter/NovaAdapter.xcodeproj/xcuserdata/huanzhizhang.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/NovaAdapter/NovaAdapter.xcodeproj/xcuserdata/huanzhizhang.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,7 +7,7 @@ NovaAdapter.xcscheme_^#shared#^_ orderHint - 4 + 6 diff --git a/NovaAdapter/NovaAdapter/NovaAdapter.swift b/NovaAdapter/NovaAdapter/NovaAdapter.swift index fddccd3..1ee642a 100644 --- a/NovaAdapter/NovaAdapter/NovaAdapter.swift +++ b/NovaAdapter/NovaAdapter/NovaAdapter.swift @@ -77,7 +77,7 @@ public class NovaAdapter: AdNetworkAdapter { guard let nativeAdView = nativeAdView as? NativeAdView, let mediaView = nativeAdView.mediaView as? NovaNativeAdMediaView, let novaNativeAdItem = self.nativeAdItem, - let rootViewController = nativeAdView.rootViewController else { + let rootViewController = self.adListener?.getRootViewController() else { self.adListener?.onError(msg: "fail to render native view") return }