             }
             backgroundImageView.frame = view.bounds
             backgroundImageView.contentMode = .ScaleAspectFill;
-            backgroundImageView.autoresizingMask = .FlexibleWidth | .FlexibleHeight;
+            backgroundImageView.autoresizingMask = [.FlexibleWidth, .FlexibleHeight];
             view.addSubview(backgroundImageView)
         }
         

            contentButton.addTarget(self, action: Selector("hideMenuViewController"), forControlEvents:.TouchUpInside)
            contentButton.autoresizingMask = .None
            contentButton.frame = contentViewContainer.bounds
            contentButton.autoresizingMask = .FlexibleWidth | .FlexibleHeight
            contentButton.tag = 101
            contentViewContainer.addSubview(contentButton)
        }

        
        if interactivePopGestureRecognizerEnabled,
            let viewController = contentViewController as? UINavigationController
            where viewController.viewControllers.count > 1 && viewController.interactivePopGestureRecognizer!.enabled {
                return false
        }
        
