Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-05-2009, 11:19 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 22
Default [Solved]Root View Controller "freezes"

Hi,

in my iPhone application I have two view Controllers, a RootViewController and a second view controller that is pushed at a certain point.
When I tap the back button of the second view controller I see the RootViewController, as usual, but I am unable to use it.
Animation does not work and I cannot tap on any cell (it's a UITableView).

In the horizontal divider above my code editor in the very right element stands: "objc_msgSend". (Is it something like a call stack?)

I hope you can give me tip, how to solve this issue. I have the impression it is a very simple problem ...

Thanks for your answers, in advance

Best regards,
Heinrich

Last edited by heinrich; 07-05-2009 at 11:43 AM.
heinrich is offline   Reply With Quote
Old 07-05-2009, 11:29 AM   #2 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 342
Default

Sounds like your program is crashing on an object call. So somewhere in your code you are doing an operation on an object using a method that doesn't exist. If you aren't getting any warnings in your code about an object that might not respond to a call, then you might be calling an object that you released from memory before you meant to.
lukeca is offline   Reply With Quote
Old 07-05-2009, 11:42 AM   #3 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 22
Default

You are right.

My problem was that I deallocated instance variables in the dealloc method before calling [super dealloc];
Now I put [super dealloc]; to the front and it works

Thank you very much!

Heinrich
heinrich is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,301
Threads: 39,106
Posts: 171,441
Top Poster: smasher (2,575)
Welcome to our newest member, alekssebasstrs
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:39 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0