skip to Main Content

AdMob: Invalid frame size – Ios swift

I am trying to implement ads in my app, code and app running perfectly, but ads not. I am getting an error in console <Google> Invalid Request. Invalid ad width or height: (0, 0) bannerView:didFailToReceiveAdWithError: Invalid ad width or height:…

VIEW QUESTION

How can I call this Closure in Swift 5 – Ios swift

I'm still new in Swift development and I'm wondering how can I call This function with the status and results? func getStatus(completion: @escaping (Swift.Result<SubscriptionStatus, MAPIError>) -> Void ) { getStatus { result in switch(result) { case .success(let subscription): switch(subscription.status) {…

VIEW QUESTION
Back To Top
Search