iOS抽屉式导航:KGFloatingDrawer
jopen
10年前
KGFloatingDrawer 是一个浮动的抽屉式导航,它通过用有趣的动画在抽屉导航模式上提供一个独特的旋转来呈现“抽屉”里的内容。
func prepareDrawerViewController() -> KGDrawerViewController { let drawerViewController = KGDrawerViewController() drawerViewController.centerViewController = drawerSettingsViewController() drawerViewController.leftViewController = leftViewController() drawerViewController.rightViewController = rightViewController() drawerViewController.backgroundImage = UIImage(named: "sky3") _drawerViewController = drawerViewController return drawerViewController }