Menu popover from bottom to top sliding iOS swift
Problem: I want to show popover from bottom to top sliding like material design.How can i achieve that? Solution: First need to add expanding menu in pods and install it.Then proceed with the below code. import ExpandingMenu fileprivate func configMenuButton () { let menuButtonSize: CGSize = CGSize ( width : 50.0, height : 50.0) menuButton = ExpandingMenuButton ( frame : self . myBtn . frame , image : "ImgName" , rotatedImage : "ImgName" ) self . view . addSubview ( menuButto n ) self . view . bringSubviewToFront ( menuButton ) menuButton . center = self . myBtn . center var menuItems:[ ExpandingMenuItem ] = [] for i in 0..< OptionsList . allC ases . count { let menuItem = OptionsList ( rawValue : i) let item1 = ExpandingMenuItem ( size : menuButtonSize, title : menuItem?. title , image : (menu