Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-22-2009, 01:20 PM   #1 (permalink)
slybitz
New Member
 
Join Date: Jun 2009
Posts: 10
Default hide/remove toolbar

I have two forms that interact with each other. view1 (let's call it) has a form that a user fills out and when that user is done filling out the form he/she hits a "continue" button which opens up view2. On view2 I've create a toolbar on the bottom of the view with some basic buttons that perform various tasks related to view2. After initializing, adding buttons, etc... to the toolbar I've added the toolbar to my view like so:

Code:
	
//Add the toolbar as a subview to the navigation controller.
[self.navigationController.view addSubview:toolbar];
On view2 there is also a navigation bar at the top that has a button allowing the user to go back to view1. My problem is that when the user goes back to view1 from view2 I can't get the toolbar from view2 to go away. I.e., the toolbar still shows on view1 when it should be hidden. When the button to go back to view1 is clicked can't I just set toolbar.hidden=TRUE; in view2? Where would I put that piece of code? This seems really easy and I've gone through a lot of tutorials/forums/examples but I just can't find the answer. Extreme newbie here... thanks for your patience and help!
slybitz is offline   Reply With Quote
 

» Advertisements
» Online Users: 724
13 members and 711 guests
ADY, at0m87, Dalia, Don, fgreg2692log, foolshityella, jakerocheleau, Khurshid, PetarPM, PeterBishop, suresk, Touchmint, yufengts
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,632
Threads: 89,149
Posts: 380,345
Top Poster: BrianSlick (7,110)
Welcome to our newest member, foolshityella
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:51 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.