Open tipa opened 4 years ago
GetPortraitAnchoredAdaptiveBannerAdSize (and the other two similar methods) are accepting CGFloat parameter in the native library, but for the Xamarin bindings, we need to provide CGSize (and not float) - why? And what CGSize are we supposed to provide? https://github.com/xamarin/GoogleApisForiOSComponents/blob/master/source/Google/MobileAds/Extensions.cs#L66
CGFloat
CGSize
@tipa I've answered this question in #448.
Essentially, just pass in a CGSize with the correct width and a dummy value for height.
GetPortraitAnchoredAdaptiveBannerAdSize (and the other two similar methods) are accepting
CGFloat
parameter in the native library, but for the Xamarin bindings, we need to provideCGSize
(and not float) - why? And what CGSize are we supposed to provide? https://github.com/xamarin/GoogleApisForiOSComponents/blob/master/source/Google/MobileAds/Extensions.cs#L66