We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got a crash when pop viewController that storyboard linked
when i print the "po [anInvocation selector]"
It seams that VC calls the dealloc method cause the crash!
and, that's import, it will crash when storyboardlink dealloc!
So, I think add a "-dealloc" method for SBStoryboardLink will solve this problem!
finally, i update the method like that:
- (void)forwardInvocation:(NSInvocation *)anInvocation { if ([anInvocation selector]!=NSSelectorFromString(@"dealloc") && [self.scene respondsToSelector:[anInvocation selector]]) [anInvocation invokeWithTarget:self.scene]; else [super forwardInvocation:anInvocation]; }
and it worked!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I got a crash when pop viewController that storyboard linked
when i print the "po [anInvocation selector]"
It seams that VC calls the dealloc method cause the crash!
and, that's import, it will crash when storyboardlink dealloc!
So, I think add a "-dealloc" method for SBStoryboardLink will solve this problem!
finally, i update the method like that:
and it worked!
The text was updated successfully, but these errors were encountered: