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
What does this error mean and how to handle it?
I suspect it happens when I load images from a web service with WEBClass and during that time I push some VC that needs other data from the WEBClass. This class is a shared instance. Could that be a possible reason?
Open the Product menu in Xcode, select Edit scheme and then choose the Diagnostics tab. There you have Enable Zombie Objects. Once selected and run, the debugger will point you to the object that is causing a trouble.
Product > Edit Scheme > Diagnostics > Enable Zombie Objects
And try to reproduce the crash.
Related
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’m have small app that simulate physics (box2d) and sending network data using pub nub.(Realtime sockets framework)
The issue is, when pubnub send the data, the sprite object (which get simulated by box2d) is stopped for a little and then continue.
This happen every time data is send.
I tried to it in another thread, but it continue to happen.
Any advice?
xCode 5, cocos2d 2.1
Update: FIXED.
Disable all logging
https://github.com/pubnub/objective-c/blob/master/iOS/README.md#logging
Disabling all logging fixes the issue! https://github.com/pubnub/objective-c/tree/master/iOS#logging to see how its done. Ping us again if any issues arise!
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
I would like to replicate the default clock app in my app. Is there any way i can use the default app in my application or i should create a new one inside my app.I would be needing the world clock function in my app , What is the best method to implement it? Thanks in advance.
No, you cannot re-use the current 'World Clock' app within your own. You are going to have to replicate this functionality yourself.
CocoaControls does have a number of open source 'clock' controls that you might find useful.
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.
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
I want to call a method of an application A from my another application B's code in ios and also want to pass arguments.
Is it possible with socket programming if yes than please give some idea about how to do that.
Thanks.
The only interprocess communication allowed by Apple on the AppStore is using URL handlers.
For more information, read here.
Using x-callback-url’s source apps can launch other apps passing data
and context information, and also provide parameters instructing the
target app to return data and control back to the source app after
executing an action.
Please refer this link for tutorials and sample code.
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
I'm trying to create an app in which i have information set up with-in the app and when the user searches for the information it displays it on the screen. So for example say you search for "Hamburger" in the app; the app looks into it's information and displays it.
Can anyone explain to me how to go about doing this or at least point me to a source that can.
Thanks
The built in framework for doing this would be UISearchBar and UISearchDisplayController. There are many tutorials our there to get you started for using these controllers (here, here and here).
Of course there are many custom ways to accomplish the same tasks, but this would be a good place to start if you are just getting started.