New window with button at start

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)


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

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:

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

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

thanks for your help.!

my iphone website:
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 7,567 Nov 4, 2006 03:50 AM
Last Post: OneSadCookie