Hi Chris,
Thanks for responding so quickly.
On 14/05/2012, at 11:13 AM, Chris Miles wrote:
> Hi Simon,
>
> A view retains any gesture recognizers added to it. The gesture recognizers do not retain the views. Although they provide a reference to the view they were added to.
I was also interested if the targets were retained but if they are release by the view then that wouldn't be a problem anyway, I guess.
> I don't see a reason to explicitly remove the gesture recognizers in viewWillDisappear, unless they are being added in a related method like viewWillAppear and the developer was ensuring that duplicate recognizers were not being added to views.
Right, I am adding them in viewWillAppear but again, I'm not exactly sure why I did it that way. I suspect I just blindly copied an apple example way back when I was first learning this stuff.