标签: iphone objective-c ios uinavigationcontroller count
NSLog(@"Views in hierarchy: %lu", (unsigned long)[navigationController.viewControllers count]);
我在NSLog
NSLog
答案 0 :(得分:2)
为什么不把它打印成,
NSLog(@"Views in hierarchy: %d", [navigationController.viewControllers count]);