ultragtx / GSBookShelf

An iBooks-styled book shelf for iOS (Animation of drag & drop, insert, remove...)
Other
426 stars 90 forks source link

error when I dismiss the bookshelf view controller #13

Closed garudaonekh closed 11 years ago

garudaonekh commented 11 years ago

When I dismiss the viewcontroller, didMovetoSuperView is called and then it call reload data....

didMovetoSuperView->reloadData->_headerView = [_dataSource headerViewOfBookShelfView:self]; Then error occured here.

Any suggestion? Maybe i don't close it something properly.

Regards

ultragtx commented 11 years ago

@chamroeunbm show me your code

garudaonekh commented 11 years ago

Hi ultragtx,

I solved the problem by remove BookShelfView from superview before i dismiss the viewcontroller that hold the bookshelfview.

Thanks;