Skip to content

Commit

Permalink
feat: minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
OlenaPostindustria committed Dec 4, 2024
1 parent 3aa37eb commit 3dd14b6
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 165 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ - (instancetype)init {
}

- (BOOL)isSupportRenderingFor:(AdFormat *)format {
return YES;
return [@[AdFormat.banner, AdFormat.video] containsObject:format];
}

- (UIView<PrebidMobileDisplayViewProtocol> * _Nullable)createAdViewWith:(CGRect)frame
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ - (instancetype)init {
}

- (BOOL)isSupportRenderingFor:(AdFormat *)format {
return YES;
return [@[AdFormat.banner, AdFormat.video] containsObject:format];
}

- (id<PrebidMobileInterstitialControllerProtocol>)createInterstitialControllerWithBid:(Bid *)bid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ class InAppDisplayBannerPluginRendererViewController: BannerBaseViewController,
// 3. Create a BannerView
prebidBannerView = BannerView(
frame: CGRect(origin: .zero, size: adSize),
configID: storedImpDisplayBanner, adSize: adSize
configID: storedImpDisplayBanner,
adSize: adSize
)

// 4. Configure the BannerView
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*   Copyright 2018-2021 Prebid.org, Inc.
/*   Copyright 2018-2024 Prebid.org, Inc.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public protocol DisplayViewInteractionDelegate: NSObjectProtocol {
/// - displayView: The `UIView` instance associated with the modal presentation.
@objc func willPresentModal(from displayView: UIView)

/// Notifies the delegate that a modal view has been dismissed and control has returned to the app.
/// Notifies the delegate that a modal view has been dismissed.
///
/// - Parameters:
/// - displayView: The `UIView` instance associated with the dismissed modal.
Expand Down

0 comments on commit 3dd14b6

Please sign in to comment.