Hi All,
I need some specific code to run when a user has dismissed a detail edit view for a particular STV row. As such, I have implemented the - (void)tableViewModel:(SCTableViewModel *) tableViewModel detailViewDidDisappearForRowAtIndexPath:(NSIndexPath *) indexPath method and specified that the class conforms to the SCTableViewModelDelegate. However, the delegate method never gets called.
I thought this may have been something that I mistakenly did (or did not do!) within my app, so I implemented the same delegate method within the CustomizationViewController sample app, but the same thing happens (or doesn't happen) - the delegate method is never called when I go back from the detail edit view.
In both cases the detail edit view is being displayed within a UINavigationController. As a test I set .detailViewModal = YES but the problem still occurs, so it does not seem related to whether the detail view is displayed as a modal or not.
Just in case I also implemented the - (void)detailViewWillAppearForCell:(SCTableViewCell *) cell withDetailTableViewModel:(SCTableViewModel *) detailTableViewModel method and conformed the class to SCTableViewCellDelegate. However, this method is never called either in response to dismissing a detail edit view.
If anyone could let me know whether I have done something wrong that would be great. Probably the easiest test would be implementing this method in the CustomizationViewController sample app and checking whether it works for you, as it didn't for me.
Thanks,
Matthew