Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
i was creating an app that have sliding menu. it reads data from rss using xml parsing and reads data from dashboard using JSon.
my problem is that i got EXC_BAD_ACCESS in main.m and in debug area, there is no exception log...
features are works perfectly. but suddenly app crashes with this exception.
am using Xcode 5 with arc.
is this any kind of memory issue. how can i resolve this?
i read some article related to memory management. but that are not much helpful...
pls help me....
You can try to add "Symbolic Breakpoint" and check where is the problem
This is instruction how to set breakpoint in xCode 5
Too little information to solve problems
This could be because:
The pointer used to point to memory that was ok, but its chunk was deallocated.
The pointer is corrupt.
Read this.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
This seems to only affect apps running on iOS 10. Both on devices and in the simulator. There is no exception thrown, but the CPU load jumps to 100% and memory runs up until the app gets killed. Still trying to isolate the issue and would appreciate any help.
This appears to be a genuine iOS10 bug, but it's only caused when the text field has it's 'adjust to fit' property enabled. So far the only fix I found is to disable it.
passwordTextField.adjustsFontSizeToFitWidth = false
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
i have a project with 179 xib files(ipad app).so we got memory pressure after 10 minutes once it launched.can anyone help me what should i do to solve this memory issues..i can create views programmatically, but i know it wont help me.because it will also take same memory..
At the first page it will take 250 MB to load and when i going to the inner pages memory usage getting increased.Memory is allocated at the first time when entering into a particular view controller,but when i pop from that view controller and push again to that,it is not taking additional memory.
thanks in advance..
You'll have to run the app in instruments and profile it for memory leaks / allocations to see whats happening. Otherwise we're just stabbing in the dark here at guessing what it could be.
Profiling the app really needs to be your first step here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I've a tabbar application with three tabs. On third tab there is a navigation controller and account setup is done there. Once the account setup is complete, I pop all the controllers on that tab and change the selected tab to first. But after then when I select the tab to third, application crash with message "message sent to deallocated instance 0x15d17cc0". This issue occurs only on iOS 7 and not happening on iOS 6 or below.
Add Exception Breakpoint from Breakpoint Navigator and find what that instance is. Most probably your problem is a simple memory management problem and it will be fixed when you autorelease that instance instead of retaining at first.
Edit: Also you can look at this great answer
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
How do I send an array through the internet from an OSX computer to an IOS device, Sorry I don't know to much about Objective C I am planning on creation an application and I haven't yet started creating it.
Thanks
What you basically want to do is use your OS X as a server. and then download information from there. If you are new to Objective-C I would recommend you read some tutorials before you get started.
Here you can find some general iOS tutorials: http://www.raywenderlich.com/tutorials
Here you can find one on NSURLSession (connecting to servers): http://www.raywenderlich.com/51127/nsurlsession-tutorial
Do some research before starting, or else it will probably result in a bad architected code. There also are several Stack Overflow questions with good references.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How do you clear a Core Animation cache programmatically if any. With time, my app's performance gets very slow and the profile instrument tells me it's because of Core Animation. I was hoping if it will be possible to refresh core animation in my app from time to time.
I believe it is not a cache issue, even its if you mess up within this area you will have another issue, I suggest to run the profiler and check if you have a leak somewhere, make sure you are releasing all your ivars porperly, use
CGImageRelease(cgImage), CGPathRelease(path), ..etc
plus take a look here and here also