原來,在iOS 6,沒有資料,一無所有的Picker是不能捲動的危險人物呀 ! ( 不過在iOS 7倒是可以安心地捲動,不會crash )
捲動後crash的遺跡如下:
2014-01-16 20:59:20.658 TestPIcker[66169:907] *** Assertion failure in -[UITableViewRowData rectForRow:inSection:], /SourceCache/UIKit_Sim/UIKit-2380.17/UITableViewRowData.m:1630
2014-01-16 20:59:20.659 TestPIcker[66169:907] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'request for rect at invalid index path (<NSIndexPath 0x7771400> 2 indexes [0, 0])'
沒有留言:
張貼留言