Files
eqn.ios/Sources/Earthquake Network/Models/EQNAdsUtility.h
T
2020-10-15 08:40:03 +02:00

25 lines
627 B
Objective-C

//
// EQNAdsUtility.h
// Earthquake Network
//
// Created by Busi Andrea on 15/10/2020.
// Copyright © 2020 Earthquake Network. All rights reserved.
//
#import <Foundation/Foundation.h>
@import GoogleMobileAds;
NS_ASSUME_NONNULL_BEGIN
@interface EQNAdsUtility : NSObject
/// Creates Ad-sense banner to show on a given controller
/// This method returns nil if the user has a Pro version, no banner has to be shown
/// @param controller Controller
/// @param isButton Is button
+ (nullable GADBannerView *)ottieniBannerWithController:(UIViewController *)controller position:(BOOL)isButton;
@end
NS_ASSUME_NONNULL_END