New window with button at start

Member
Posts: 178
Joined: 2008.09
Post: #1
Hi. a new question born !

my new app its a book.
but i need a fullscreen.jpg at the start: (already have)

question:

how can I start My app with full screen (cover book) , and with a simple button
and:

when a user press the button jump to MyViewController
to start reading the book.

i know how to do it with UIView, but not with a UIWindow and MyViewController
here is the code I use for UIView:

Code:
[window addSubview:viewController.view];
[window makeKeyAndVisible];
[window addSubview:vistainicio];

and the button action:
Code:
- (IBAction)start: (id)sender {
[vistainicio  removeFromSuperview];
[window addSubview: vistabook];}

thanks for your help.!

my iphone website: http://www.elsalvadorguia.com
intel Imac 20", iphone 8GB (2G)
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Copying from OpenGL window to other window Ingemar 7 4,747 Nov 4, 2006 03:50 AM
Last Post: OneSadCookie