I connected the UIGestureRecognizer to the UIView. Whose responsibility is to free him during dealloc?
In particular:
UITapGestureRecognizer *t = [[UITapGestureRecognizer alloc] initWithTarget:self.view action:@selector(tapHandler:)]; [self.view addGestureRecognizer:t]; [t release];
Thus, self.view currently has a unique Recognizer gesture retention.
Update I should have been clearer. My question is related to the dealloc views method. Does supervision of the view of the view issue gestureRecognizer when the view is released. Currently, I assume this is so.
memory-management ios uigesturerecognizer
dugla
source share