Skip to content

Commit 05a9176

Browse files
author
Nikolaï Roycourt
committed
v2.7.13
1 parent b2e315b commit 05a9176

File tree

8 files changed

+15
-11
lines changed

8 files changed

+15
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
v2.7.13
4+
- UI adjustement for fullscreen on iPhone X
5+
- Fix for (wk)webview integration
6+
37
v2.7.12
48
- Fixed an issue with WKWebView delegates when using `reinjectTeadsInWebView`
59

TeadsSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "TeadsSDK"
4-
s.version = "2.7.12"
4+
s.version = "2.7.13"
55
s.summary = "Teads' iOS SDK"
66

77
s.description = <<-DESC

TeadsSDKDemo/Demo Pages/inRead/InReadWKWebview.m

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@interface InReadWKWebview ()
1212

13-
@property (strong, nonatomic) WKWebView *wkWwebView;
13+
@property (strong, nonatomic) WKWebView *wkWebView;
1414

1515
@property (strong, nonatomic) TeadsAd *teadsInRead;
1616

@@ -22,14 +22,14 @@ - (void)viewDidLoad {
2222
[super viewDidLoad];
2323

2424
WKWebViewConfiguration *theConfiguration = [[WKWebViewConfiguration alloc] init];
25-
self.wkWwebView = [[WKWebView alloc] initWithFrame:CGRectZero configuration:theConfiguration];
26-
self.wkWwebView.navigationDelegate = self;
25+
self.wkWebView = [[WKWebView alloc] initWithFrame:CGRectZero configuration:theConfiguration];
26+
self.wkWebView.navigationDelegate = self;
2727

28-
[self.view addSubview:self.wkWwebView];
28+
[self.view addSubview:self.wkWebView];
2929

30-
[self.wkWwebView setTranslatesAutoresizingMaskIntoConstraints:NO];
31-
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[_wkWwebView]|" options:0 metrics:nil views:NSDictionaryOfVariableBindings(_wkWwebView)]];
32-
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[_wkWwebView]|" options:0 metrics:nil views:NSDictionaryOfVariableBindings(_wkWwebView)]];
30+
[self.wkWebView setTranslatesAutoresizingMaskIntoConstraints:NO];
31+
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[_wkWwebView]|" options:0 metrics:nil views:NSDictionaryOfVariableBindings(_wkWebView)]];
32+
[self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[_wkWwebView]|" options:0 metrics:nil views:NSDictionaryOfVariableBindings(_wkWebView)]];
3333

3434
self.navigationItem.title = @"inRead WKWebView";
3535

@@ -43,18 +43,18 @@ - (void)viewDidLoad {
4343
//Here we specify in placeholderText an id for a HTML node to insert the inRead
4444
self.teadsInRead = [[TeadsAd alloc] initInReadWithPlacementId:pid
4545
placeholderText:@"#my-placement-id"
46-
wkWebView:self.wkWwebView
46+
wkWebView:self.wkWebView
4747
delegate:self];
4848
webSiteURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"] isDirectory:NO];
4949
} else {
5050
// inRead
5151
self.teadsInRead = [[TeadsAd alloc] initInReadWithPlacementId:pid
5252
placeholderText:[[NSUserDefaults standardUserDefaults] stringForKey:@"placeholderText"]
53-
wkWebView:self.wkWwebView
53+
wkWebView:self.wkWebView
5454
delegate:self];
5555
webSiteURL = [NSURL URLWithString:urlToLoad];
5656
}
57-
[self.wkWwebView loadRequest:[NSURLRequest requestWithURL:webSiteURL]];
57+
[self.wkWebView loadRequest:[NSURLRequest requestWithURL:webSiteURL]];
5858

5959
}
6060

-1 Bytes
Binary file not shown.
-45 Bytes
Binary file not shown.
-40 Bytes
Binary file not shown.
-102 Bytes
Binary file not shown.
487 KB
Binary file not shown.

0 commit comments

Comments
 (0)