-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
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
App Crashes when Home Button is pressed #13
Comments
I can confirm that. What i found out: ModalViewController *modalVC = (ModalViewController *)[self.storyboard instantiateViewControllerWithIdentifier:@"modalTestVC"]; dismissViewController -> click Home Button -> crash |
Same issue here triggered when using Facebook iOS SDK and app looses focus to perform connection to FB... With PHAirViewController included in the project it always crashes, works fine otherwise... |
I'm getting the same issue. It's preventing notification removals. Here's my correspondence with the author on the subject: Hi, |
Unfortunately GH won't allow me to attach the sample project. Attached here: http://s000.tinyupload.com/index.php?file_id=07458533194583357533 |
Oh dear, i've found the problem. Simple mistake. He's overridden 'dealloc' in a UIViewController category. |
OK Here's how you fix it. Search for:
Remove this:
Replace dealloc with this:
|
Hi, Thanks a lot. |
Thanks a lot you saved my day |
Thanks a lot ! |
Wow @chrishulber method swizzling. Nice ! Was stuck on this too |
Thanks a lot. You save my day.. |
Hello My Other Views have fixed the crash after doing this dealloc replacement but there in uncertain crash now at this giving EXCESS BAD ACCESS
Class : PHAirViewController.m in reloadData function |
You should open a new issue. Alternatively there are newer pods for On Wed, Jul 15, 2015 at 10:42 PM, Rappier notifications@github.com wrote:
|
When i used UITableViewController in UINavigationStack, it worked fine in foreground. But loading a UITableViewController and then unLoad UITableViewController. Now pressing iPhone Home Button crashed the application with this error:
[UITableViewController applicationWillSuspend]: message sent to deallocated instance.
Now, tell me what to do with this?
The text was updated successfully, but these errors were encountered: