Friend-LGA / LGSideMenuController

iOS view controller which manages left and right side views
MIT License
2.05k stars 331 forks source link

how to make rootview with corners? #191

Open esraamasuad opened 3 years ago

esraamasuad commented 3 years ago
Screen Shot 2021-11-04 at 10 34 00 PM
ahmed-msayed commented 2 years ago

i have the same issue please fix it

oilladacds commented 2 years ago

Same issue here

iamkims commented 2 years ago

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

}

}