malloc: *** mmap(size=1431658496) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
*** Assertion failure in -[UISectionRowData refreshWithSection:tableView:tableViewRowData:], /SourceCache/UIKit_Sim/UIKit-1914.84/UITableViewRowData.m:377
主要問題為,在tableview的方法中
numberOfRowsInSection:此方法根據數組返回對應的行數。在此一行顯示多個自定義cell時候,需要判斷數組是否為0,在if中加入[Array count]!=0即可