UITabBarController自定義轉(zhuǎn)場(chǎng)動(dòng)畫
- 實(shí)現(xiàn)UITabBarControllerDelegate
- 實(shí)現(xiàn)方法
func tabBarController(tabBarController: UITabBarController, animationControllerForTransitionFromViewController fromVC: UIViewController, toViewController toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? {
// 返回動(dòng)畫類
}
- 動(dòng)畫類和push pop轉(zhuǎn)場(chǎng)動(dòng)畫實(shí)現(xiàn)方法一樣
iOS自定義轉(zhuǎn)場(chǎng)動(dòng)畫(1)——自定義Push轉(zhuǎn)場(chǎng)動(dòng)畫