 
   @objc func didTapShowBannerButton() {
     bannerView.isHidden = false
-    UIAccessibility.post(notification:.layoutChanged, argument: bannerView);
+    bannerView.setNeedsLayout()
+    UIAccessibility.post(notification: .layoutChanged, argument: bannerView)
   }
 
   @objc func didTapDismissOnBannerView() {

    bannerView.layoutMargins = .zero
    let actionButton = bannerView.leadingButton
    actionButton.setTitle("Dismiss", for: .normal)
    actionButton.addTarget(self, action: #selector(self.didTapDismissOnBannerView), for: .touchUpInside)
    bannerView.applyTheme(withScheme: containerScheme)
    view.addSubview(bannerView)
    bannerView.isHidden = true

    showBannerButton.translatesAutoresizingMaskIntoConstraints = false
    showBannerButton.applyTextTheme(withScheme: containerScheme)
    showBannerButton.setTitle("Material Banner", for: .normal)
    showBannerButton.addTarget(
      self, action: #selector(self.didTapShowBannerButton), for: .touchUpInside)
    view.addSubview(showBannerButton)
    showBannerButton.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true
    showBannerButton.centerYAnchor.constraint(equalTo: view.centerYAnchor).isActive = true
