I'm presenting a UINavigationController modally.
_navigationController.modalPresentationStyle = UIModalPresentationFormSheet;
I want to show the modal controller with rounded corners. I tried this: Remove rounded corner for uiviewcontroller's view ipad
It's working fine with UIViewControllers. For UINavigationController, I tried setting corner radius of navigation controller's view to 0. Also set corner radius of UIViews of all the UIViewControllers inside the UINavigationController. But nothing is working.
Anyone have any idea how to do it??