I am using MMDrawerController for showing drawer. My app is crashing on clicking on the drawer menu options. It works well in iOS9 but crashes in iOS8. Does anyone have any idea about what is happening here. Am I missing something here?
I am getting the below error when i click on the left menu bar option:
[UIScreenEdgePanGestureRecognizer view]: message sent to deallocated
instance 0x155e6d9a0
Related
I am working on existing swift app written in Swift 4.0. I am getting strange issue in any of screen If I tried to use UIAlertController with UIAlertAction in form of alert or action sheet. As soon as I tap on UIAlertAction Button complete screen goes black(Blank) and I need to force quit to restart app, I am getting this on iOS 14.7.1....
I tried to use alert on Main Thread, added scene delegate as well as Deployment target is iOS 13.0 But no luck and interesting part is If I run app with Xcode everything works fine but if I tried to use app on device directly without run, getting this strange issue....Any Suggestions...
Thanks in advance....
I got solution for now, after seeing Debug View Hierarchy I got on tap of UIAlertAction, it remove window that's why complete app goes blank, So I created new window for showing Alert. I followed this stack OverFlow Answer Every UIAlertController disappear automatically before user responds - since iOS 13
May be it helps someone....
I am facing one problem in chat Ui (objective C), it’s causing problem when i come back to chat screen by clicking on arrived notification , the navigation bar get hides .its working fine when i am inside at the app , the problem is coming only when i come back to app from notification tab , please let me know the issue. The problem only arise when i install Firebase framework inside application for Phone auth , it only arise in this case and when i remove that framework everything starts working fine again . i really need your support here that what thing is causing this to navigation bar.
Thanks
I have a 2 view aplication, on the main screen I have added ADMOB banner, it works perfectly. But when I click on UIButton (any category) to move to the second UIView, the app crashes and I get error : "thread 1 exc_bad_instruction (code=exc_i386_invop subcode=0x0)" .
Picture with error
When I remove the banner, it works good again. Not sure what Im missing. The whole code is here:
Picture with whole viewcontroller.swift
Thank you for reply.
I have a UINavigationController, that I use to transition between an 'Inbox' and 'Outbox' view controller.
It works fine in iOS6, but when I target iOS7, I get the following:
-[_UINavigationBarBackIndicatorView setAlpha:]: message sent to deallocated instance 0xc383c90
This happens when I call
[rootNav pushViewController:outbox animated:NO];
I've enabled Zombies and used the Allocate instrument to get some more information.
I've attached a screenshot of what I found.
Unfortunately, I have no idea what to do with this information. Does anyone have any ideas?
Also, this app does not use a back button. Maybe this is the issue?
Thanks!
When I run my app in simulator everything is fine, but when I run in device it is crashing.
Reason is I am pushing one xib from my storyboard and it's working well but when I press the back button it is crashing and [myxib class name method] message sent to deallocated instance 0x1fc65600. But in simulator it's fine, is that due to memory leak?
It is pointing to:
0x311ad468 trap <--- Thread1:EXC_BREAKPOINT (code =EXC_ARM_BREAKPOINT ,subcode=0xdefe))
[self.navigationcontroller pushviewcontroller:obj animated:YES];
I solved it,first thing is iam retrieving some values in previous class from someother class,so when iam out of focus that value transaction is throwing exception,so what i done is i disable the back button for some seconds