在控制台里打印controller的层级: po [UIViewController _printHierarchy]
#ifdef DEBUG
#define CLog(format, ...) NSLog(format, ## __VA_ARGS__)
#else
#define CLog(format, ...)
#endif
隐藏导航条:[self.navigationController setNavigationBarHidden:YES animated:YES];
在控制台里打印controller的层级: po [UIViewController _printHierarchy]
#ifdef DEBUG
#define CLog(format, ...) NSLog(format, ## __VA_ARGS__)
#else
#define CLog(format, ...)
#endif
隐藏导航条:[self.navigationController setNavigationBarHidden:YES animated:YES];