崩溃logapp
*** Assertion failure in -[XYTableView _configureCellForDisplay:forIndexPath:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3512.60.7/UITableView.m:7971ui
function:__uncaughtExceptionHandler line:382 content:uncaught exception: UITableView (<XYTableView: 0x7fa8cc86ee00; baseClass = UITableView; frame = (0 0; 414 672); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x7fa8cb6b2000>; layer = <CALayer: 0x7fa8cb69d780>; contentOffset: {0, 0}; contentSize: {414, 176}>) failed to obtain a cell from its dataSource (<SXPayCenterViewController: 0x7fa8cdc56450>)对象
前一句为崩溃的方法(死亡地点)ip
后一句崩溃的关联对象和地点it
问题:崩溃io
缘由:在指定的section和row 返回的cell为nilfunction
解决方法:返回的cell数量和数据源要统一,且不能为nilcli