Skip to content

Commit

Permalink
Removed white background from under the chat widget.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jercik committed Sep 15, 2017
1 parent 3d3b02a commit c37bac1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/ChatView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ class ChatView : UIView, WKNavigationDelegate, WKUIDelegate, WKScriptMessageHand
webView.scrollView.minimumZoomScale = 1.0
webView.scrollView.maximumZoomScale = 1.0
webView.layer.anchorPoint = CGPoint(x: 0.5, y: 0.0)
webView.isOpaque = false
webView.backgroundColor = UIColor.clear
webView.frame = webViewFrame(forKeyboardFrame: keyboardFrame, topInset: topInset())
addSubview(webView)

Expand Down

0 comments on commit c37bac1

Please sign in to comment.