SmoothNavDemo
SmoothNavDemo copied to clipboard
运行模拟器 直接报错
运行模拟器 直接报错 环境 模拟器 iphone6 系统版本 8.1 @implementation UINavigationController (Cloudox) 第24行 数组越界
遇到同样的问题 数组越界,打印显示数组只有一个imageView (lldb) po [barBackgroundView subviews] <__NSArrayM 0x7f965552b160>( <UIImageView: 0x7f965552a310; frame = (0 44; 375 0.5); userInteractionEnabled = NO; layer = <CALayer: 0x7f965552a610>> )
估计是版本不同导致navigationbar的子view结构不同,这种通过序号获取特定子view的方式确实不合适,希望能找到更好的方式