Skip to content

Commit ff9068d

Browse files
committed
Update EmbeddedMessagesViewController.swift
1 parent c8c08b8 commit ff9068d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample-apps/swift-sample-app/swift-sample-app/EmbeddedMessages/EmbeddedMessagesViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class EmbeddedMessagesViewController: UIViewController {
103103
embeddedView.primaryBtn.widthAnchor.constraint(equalToConstant: 140).isActive = true
104104
embeddedView.secondaryBtn.widthAnchor.constraint(equalToConstant: 140).isActive = true
105105

106-
// You must call this method which sets the type for this view which helps render the particular layout of cardview/bannerview
106+
// You must initialize frame here for the embeddedView
107107
embeddedView.frame = CGRect(x: 0, y: 0, width: customView.frame.width, height: customView.frame.height)
108108
customView.addSubview(embeddedView)
109109
}

0 commit comments

Comments
 (0)