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

View Single Post
Old 06-27-2009, 09:59 PM   #1 (permalink)
Launch
New Member
 
Join Date: Jun 2009
Posts: 5
Default presentmodalviewcontroller and memory management

Ok, my app only has a few views so the user navigates through the views using modalviewcontrollers.Let's say View A goes to B, and view B goes to C. A is the menu screen. Going back from B to A is easy using dismissmodalviewcontroller, but I can't do the same thing going from C to A. To get around this, I just created a new instance of the View A controller using initwithnibname in the View C controller, and then set that as the presentmodalviewcontroller. (and then releasing it) My question is, is this using up more and more memory the more it is used? If I continuously go from A to B to C, and then back to A, is it using up more memory?
Launch is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Online Users: 285
23 members and 262 guests
Affan, Batman, beginer2007, calvin464, computermatt, dave1619, dre, Eagle11, FlukeDude, iGeorG, itzdark, Kalimba, LemonMeringue, linkmx, masc2279, paul84, phaseIV, pstool, rdfrahm, ThirtyOne, Varras, williamlegate, wuf810
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 24,214
Threads: 38,997
Posts: 171,053
Top Poster: smasher (2,569)
Welcome to our newest member, Varras
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:14 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.