object_getClassName swift得到类名

object_getClassName(self.tabBarController.presentingViewController) != "UINavigationController"
原文地址:https://www.cnblogs.com/MartinLi841538513/p/3849796.html