We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f764df commit 6a30f8bCopy full SHA for 6a30f8b
Source/SlideMenuController.swift
@@ -117,7 +117,7 @@ open class SlideMenuController: UIViewController, UIGestureRecognizerDelegate {
117
deinit { }
118
119
open func initView() {
120
- mainContainerView = UIView(frame: view.bounds)
+ mainContainerView.frame = view.bounds
121
mainContainerView.backgroundColor = UIColor.clear
122
mainContainerView.autoresizingMask = [.flexibleHeight, .flexibleWidth]
123
view.insertSubview(mainContainerView, at: 0)
0 commit comments