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 06-26-2011, 12:06 AM   #1 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 22
kimd7 is on a distinguished road
Default Switching Scenes

Hello all,

I am trying to make a simple settings feature in my app, but it is not in a menu. I am not using cocos2d, so I was wondering if I could still switch scenes, and how I would do this if so.

Basically, I want a little button at the top of the screen, that when pressed, takes the user to a new scene with different options.

Thank You!
kimd7 is offline   Reply With Quote
Old 06-26-2011, 12:14 AM   #2 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 100
XcodeMagic is on a distinguished road
Default

Quote:
Originally Posted by kimd7 View Post
Hello all,

I am trying to make a simple settings feature in my app, but it is not in a menu. I am not using cocos2d, so I was wondering if I could still switch scenes, and how I would do this if so.

Basically, I want a little button at the top of the screen, that when pressed, takes the user to a new scene with different options.

Thank You!
I take it you are using x code and objective c coding?

If so, I can help you =) Just tell me if that is the case.
XcodeMagic is offline   Reply With Quote
Old 07-02-2011, 11:24 PM   #3 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 22
kimd7 is on a distinguished road
Default

Yes, I am.
kimd7 is offline   Reply With Quote
Old 07-03-2011, 02:59 AM   #4 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

and what you mean with "scene" ViewController?
__________________
dany_dev is offline   Reply With Quote
Old 07-03-2011, 09:42 PM   #5 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 22
kimd7 is on a distinguished road
Default

Quote:
Originally Posted by dany_dev View Post
and what you mean with "scene" ViewController?
Basically. I just want to switch to another "page".
kimd7 is offline   Reply With Quote
Old 07-04-2011, 02:27 AM   #6 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 100
XcodeMagic is on a distinguished road
Default

Quote:
Originally Posted by kimd7 View Post
Basically. I just want to switch to another "page".
Yes that is pretty simple, but its 1:24 am here so I'm going to sleep I will respond tmr after work around 5pm.

All you got to do is create a button, and when pressed it takes you to a whole new page.. I know not much help. Hmm you should watch

YouTube - ‪Making a simple iPhone game, part 1‬‏

He shows you how to make a menu and settings page and the game page. With that you can create your own pages.

I started with 0 knowladge about coding, but after watching that tutorial it helped a lot. Creating pages and buttons that take you to them is quite easy, just watch the 10 part tutorial. I will reply with an example tmr from my own code GOOD LUCK.
XcodeMagic is offline   Reply With Quote
Old 07-07-2011, 01:35 PM   #7 (permalink)
Registered Member
 
Join Date: May 2011
Posts: 22
kimd7 is on a distinguished road
Default

Thank you for showing me this! It really helped a lot! Do you think you could still post your version of the code?

I also have a couple questions relating to UITextFields. If you have knowledge on them, I'd love to hear it.

Thanks again!
kimd7 is offline   Reply With Quote
Reply

Bookmarks

Tags
cocos2d, scenes, switching 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: 327
8 members and 319 guests
chemistry, Dnnake, iOS.Lover, lendo, leostc, Leslie80, pbart, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,664
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Leslie80
Powered by vBadvanced CMPS v3.1.0

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