nicklockwood / iCarousel

A simple, highly customisable, data-driven 3D carousel for iOS and Mac OS
http://www.charcoaldesign.co.uk/source/cocoa#icarousel
Other
11.99k stars 2.58k forks source link

App Crash When I reload uitableview inside iCarousel. #877

Open tarunsachdeva001 opened 5 years ago

tarunsachdeva001 commented 5 years ago

Hi Nick, I used UITableView inside iCarousel View. UITablview loaded successfully.But When I reload tableview the app get crashed. I think it release tableview after loading, As the last tableview reload successfully. Also I didn't use if(view == nil ) {} condition. Everytime i create new view and uitableview.

view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)]; _tblView = [[UITableView alloc]initWithFrame:self.view.frame style:UITableViewStylePlain];

Please help me to resolve this issue.