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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.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 04-20-2011, 07:44 PM   #1 (permalink)
Registered Member
 
Join Date: Apr 2011
Posts: 5
Griffin1600 is on a distinguished road
Default Creating a multiview application in which all views are accessed from the main view.

I have create an application which has several views, I want each view to be accessed by a link from the main page, and then have a done button to go back to the main page. I have managed to link one view from the main page, and add the done button by using this tutorial: YouTube - Xcode iPhone SDK Tutorial - Switching XIBs, Nib Views (Switching Views Method 2) but I cannot work out how to get this to work for more than one view.

Also, when I open the second view from the main page, it opens in portrait, when the rest of the app is in landscape.

Thank you in advance.
Griffin1600 is offline   Reply With Quote
Old 04-21-2011, 04:59 AM   #2 (permalink)
Registered Member
 
johnyo's Avatar
 
Join Date: Dec 2010
Location: Los Angeles, CA
Posts: 52
johnyo is on a distinguished road
Default

If the subviews are just going to pop up and down over a main view you could make the subviews "modal view controllers" (Loading…) and this would probably accomplish what you want. You can just take the view controllers you already have made and call them using:
Code:
[self presentModalViewController:navigationController animated:YES];
johnyo is offline   Reply With Quote
Reply

Bookmarks

Tags
landscape, multiple, views

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



» Advertisements
» Online Users: 346
13 members and 333 guests
dansparrow, dre, iOS.Lover, LezB44, lorrettaui53, Nobbsy, Objective Zero, oztemel, pbart, samdanielblr, sledzeppelin, thephotographer, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,119
Posts: 402,896
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:50 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0