diff --git a/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m b/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m index 012d5e825a..866c20d52c 100644 --- a/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m +++ b/DemoApp-ObjC/DemoApp-ObjC/ALHomeViewController.m @@ -7,6 +7,7 @@ // #import "ALHomeViewController.h" +#import @interface ALHomeViewController() @@ -20,4 +21,9 @@ - (void)viewDidLoad } +- (IBAction)showMediationDebugger:(UIBarButtonItem *)sender +{ + [[ALSdk shared] showMediationDebugger]; +} + @end diff --git a/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/Contents.json b/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/Contents.json new file mode 100644 index 0000000000..0934cf6e0b --- /dev/null +++ b/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "bug.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/bug.png b/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/bug.png new file mode 100644 index 0000000000..3f1ed5959f Binary files /dev/null and b/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Assets.xcassets/bug.imageset/bug.png differ diff --git a/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Base.lproj/Main.storyboard b/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Base.lproj/Main.storyboard index 071e862269..7c4f4aba2f 100644 --- a/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Base.lproj/Main.storyboard +++ b/DemoApp-ObjC/DemoApp-ObjC/Supporting Files/Base.lproj/Main.storyboard @@ -124,7 +124,13 @@ - + + + + + + + @@ -271,4 +277,7 @@ + + + diff --git a/DemoApp-Swift/DemoApp-Swift/ALHomeViewController.swift b/DemoApp-Swift/DemoApp-Swift/ALHomeViewController.swift index fadde8afcc..421ae88992 100644 --- a/DemoApp-Swift/DemoApp-Swift/ALHomeViewController.swift +++ b/DemoApp-Swift/DemoApp-Swift/ALHomeViewController.swift @@ -7,6 +7,7 @@ // import UIKit +import AppLovinSDK class ALHomeViewController: UITableViewController { @@ -14,5 +15,10 @@ class ALHomeViewController: UITableViewController { super.viewDidLoad() } + + @IBAction func showMediationDebugger(_ sender: UIBarButtonItem!) + { + ALSdk.shared()!.showMediationDebugger() + } } diff --git a/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/Contents.json b/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/Contents.json new file mode 100644 index 0000000000..0934cf6e0b --- /dev/null +++ b/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "bug.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/bug.png b/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/bug.png new file mode 100644 index 0000000000..3f1ed5959f Binary files /dev/null and b/DemoApp-Swift/DemoApp-Swift/Supporting Files/Assets.xcassets/bug.imageset/bug.png differ diff --git a/DemoApp-Swift/DemoApp-Swift/Supporting Files/Base.lproj/Main.storyboard b/DemoApp-Swift/DemoApp-Swift/Supporting Files/Base.lproj/Main.storyboard index d9663ef49c..76be0d561d 100644 --- a/DemoApp-Swift/DemoApp-Swift/Supporting Files/Base.lproj/Main.storyboard +++ b/DemoApp-Swift/DemoApp-Swift/Supporting Files/Base.lproj/Main.storyboard @@ -124,7 +124,13 @@ - + + + + + + + @@ -271,4 +277,7 @@ + + +