Skip to content

Commit

Permalink
Merge pull request #982 from OneSignal/feature/IAM_transparent_backgr…
Browse files Browse the repository at this point in the history
…ound

Enable Transparent IAM backgrounds
  • Loading branch information
emawby authored Aug 27, 2021
2 parents b03aed7 + 44c56f5 commit c88a5b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iOS_SDK/OneSignalSDK/Source/OSInAppMessageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ - (void)setupWebviewWithMessageHandler:(id<WKScriptMessageHandler>)handler {

// Setup WebView, delegates, and disable scrolling inside of the WebView
self.webView = [[WKWebView alloc] initWithFrame:mainBounds configuration:configuration];

self.webView.backgroundColor = [UIColor clearColor];
self.webView.opaque = NO;
[self addSubview:self.webView];

[self layoutIfNeeded];
Expand Down

0 comments on commit c88a5b2

Please sign in to comment.