LGSideMenuController icon indicating copy to clipboard operation
LGSideMenuController copied to clipboard

how to make rootview with corners?

Open esraamasuad opened this issue 4 years ago • 3 comments

Screen Shot 2021-11-04 at 10 34 00 PM

esraamasuad avatar Nov 04 '21 20:11 esraamasuad

i have the same issue please fix it

ahmed-msayed avatar Dec 15 '21 08:12 ahmed-msayed

Same issue here

oilladacds avatar Dec 29 '21 13:12 oilladacds

class SideMenuController: LGSideMenuController {

// `viewDidLoad` probably the best place to assign them.
// But if necessary you can do it in other places as well.
override func viewDidLoad() {
    super.viewDidLoad()

    //self.rootViewLayerShadowRadius = 0 // If u remove shadow then the corner radius would be apt. Use as per ur convenience.
    self.rootView?.layer.cornerRadius = 30
    
}

}

iamkims avatar Apr 23 '22 07:04 iamkims